Skip to content

Commit fd51484

Browse files
fix(storage): fix the lifecycle storage sample (#865)
* fix(storage): fix the lifecycle storage sample * Update storage/object_lifecycle_setting/main.tf Co-authored-by: Katie McLaughlin <[email protected]> * Revert "Update storage/object_lifecycle_setting/main.tf" This reverts commit a1ee4eb. * fix(storage): fix the lifecycle storage sample * lintttt --------- Co-authored-by: Katie McLaughlin <[email protected]> Co-authored-by: Katie McLaughlin <[email protected]>
1 parent db45bfa commit fd51484

File tree

1 file changed

+3
-4
lines changed
  • storage/object_lifecycle_setting

1 file changed

+3
-4
lines changed

storage/object_lifecycle_setting/main.tf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ resource "random_id" "bucket_prefix" {
2020
}
2121

2222
resource "google_storage_bucket" "auto_expire" {
23-
provider = google-beta
24-
name = "${random_id.bucket_prefix.hex}-example-bucket"
25-
location = "US"
26-
uniform_bucket_level_access = true
23+
provider = google-beta
24+
name = "${random_id.bucket_prefix.hex}-example-bucket"
25+
location = "US"
2726

2827
lifecycle_rule {
2928
condition {

0 commit comments

Comments
 (0)