|
|
|
|
@ -52,8 +52,6 @@ func TestAccStorageCustomAttributes(t *testing.T) {
|
|
|
|
|
Check: resource.ComposeTestCheckFunc(
|
|
|
|
|
testAccCheckCloudStorageBucketExists(
|
|
|
|
|
"google_storage_bucket.bucket", &bucketName),
|
|
|
|
|
resource.TestCheckResourceAttr(
|
|
|
|
|
"google_storage_bucket.bucket", "predefined_acl", "publicReadWrite"),
|
|
|
|
|
resource.TestCheckResourceAttr(
|
|
|
|
|
"google_storage_bucket.bucket", "location", "EU"),
|
|
|
|
|
resource.TestCheckResourceAttr(
|
|
|
|
|
@ -77,8 +75,6 @@ func TestAccStorageBucketUpdate(t *testing.T) {
|
|
|
|
|
Check: resource.ComposeTestCheckFunc(
|
|
|
|
|
testAccCheckCloudStorageBucketExists(
|
|
|
|
|
"google_storage_bucket.bucket", &bucketName),
|
|
|
|
|
resource.TestCheckResourceAttr(
|
|
|
|
|
"google_storage_bucket.bucket", "predefined_acl", "projectPrivate"),
|
|
|
|
|
resource.TestCheckResourceAttr(
|
|
|
|
|
"google_storage_bucket.bucket", "location", "US"),
|
|
|
|
|
resource.TestCheckResourceAttr(
|
|
|
|
|
|