diff --git a/builtin/providers/google/resource_storage_bucket_test.go b/builtin/providers/google/resource_storage_bucket_test.go index 2e1a9e2be4..5959163964 100644 --- a/builtin/providers/google/resource_storage_bucket_test.go +++ b/builtin/providers/google/resource_storage_bucket_test.go @@ -68,12 +68,12 @@ func TestAccStorageStorageClass(t *testing.T) { CheckDestroy: testAccGoogleStorageDestroy, Steps: []resource.TestStep{ { - Config: testGoogleStorageBucketsReaderStorageClass(bucketName, "STANDARD"), + Config: testGoogleStorageBucketsReaderStorageClass(bucketName, "MULTI_REGIONAL"), Check: resource.ComposeTestCheckFunc( testAccCheckCloudStorageBucketExists( "google_storage_bucket.bucket", bucketName), resource.TestCheckResourceAttr( - "google_storage_bucket.bucket", "storage_class", "STANDARD"), + "google_storage_bucket.bucket", "storage_class", "MULTI_REGIONAL"), ), }, { @@ -86,12 +86,12 @@ func TestAccStorageStorageClass(t *testing.T) { ), }, { - Config: testGoogleStorageBucketsReaderStorageClass(bucketName, "DURABLE_REDUCED_AVAILABILITY"), + Config: testGoogleStorageBucketsReaderStorageClass(bucketName, "REGIONAL"), Check: resource.ComposeTestCheckFunc( testAccCheckCloudStorageBucketExists( "google_storage_bucket.bucket", bucketName), resource.TestCheckResourceAttr( - "google_storage_bucket.bucket", "storage_class", "DURABLE_REDUCED_AVAILABILITY"), + "google_storage_bucket.bucket", "storage_class", "REGIONAL"), ), }, }, diff --git a/website/source/docs/providers/google/r/storage_bucket.html.markdown b/website/source/docs/providers/google/r/storage_bucket.html.markdown index fe26b7e2cc..df2eae69d9 100644 --- a/website/source/docs/providers/google/r/storage_bucket.html.markdown +++ b/website/source/docs/providers/google/r/storage_bucket.html.markdown @@ -48,7 +48,7 @@ to `google_storage_bucket_acl.predefined_acl`. * `project` - (Optional) The project in which the resource belongs. If it is not provided, the provider project is used. -* `storage_class` - (Optional) The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `STANDARD`, `NEARLINE`, `DURABLE_REDUCED_AVAILABILITY` +* `storage_class` - (Optional) The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`. * `website` - (Optional) Configuration if the bucket acts as a website.