provider/google: storage bucket tests shouldn't not check predefined_acl
it was depreceted in https://github.com/hashicorp/terraform/pull/3272
This commit is contained in:
parent
b2b41192ac
commit
0efffc67f0
|
@ -52,8 +52,6 @@ func TestAccStorageCustomAttributes(t *testing.T) {
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
testAccCheckCloudStorageBucketExists(
|
testAccCheckCloudStorageBucketExists(
|
||||||
"google_storage_bucket.bucket", &bucketName),
|
"google_storage_bucket.bucket", &bucketName),
|
||||||
resource.TestCheckResourceAttr(
|
|
||||||
"google_storage_bucket.bucket", "predefined_acl", "publicReadWrite"),
|
|
||||||
resource.TestCheckResourceAttr(
|
resource.TestCheckResourceAttr(
|
||||||
"google_storage_bucket.bucket", "location", "EU"),
|
"google_storage_bucket.bucket", "location", "EU"),
|
||||||
resource.TestCheckResourceAttr(
|
resource.TestCheckResourceAttr(
|
||||||
|
@ -77,8 +75,6 @@ func TestAccStorageBucketUpdate(t *testing.T) {
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
testAccCheckCloudStorageBucketExists(
|
testAccCheckCloudStorageBucketExists(
|
||||||
"google_storage_bucket.bucket", &bucketName),
|
"google_storage_bucket.bucket", &bucketName),
|
||||||
resource.TestCheckResourceAttr(
|
|
||||||
"google_storage_bucket.bucket", "predefined_acl", "projectPrivate"),
|
|
||||||
resource.TestCheckResourceAttr(
|
resource.TestCheckResourceAttr(
|
||||||
"google_storage_bucket.bucket", "location", "US"),
|
"google_storage_bucket.bucket", "location", "US"),
|
||||||
resource.TestCheckResourceAttr(
|
resource.TestCheckResourceAttr(
|
||||||
|
|
Loading…
Reference in New Issue