Skip to content

Commit

Permalink
feat: Bucket versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
szymon-piechowicz-wandb committed Dec 22, 2023
1 parent 430f143 commit db1c52e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/storage/bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ resource "google_storage_bucket" "file_storage" {

uniform_bucket_level_access = true
force_destroy = !var.deletion_protection
versioning {
enabled = true
}

labels = var.labels

Expand Down

0 comments on commit db1c52e

Please sign in to comment.