Skip to content

Commit

Permalink
feat(artifacts): bucket versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
szymon-piechowicz-wandb committed Nov 10, 2023
1 parent 837f127 commit ee74729
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/file_storage/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "file_storage" {
}
}

resource "aws_s3_bucket_versioning" "file_storage" {
bucket = aws_s3_bucket.file_storage.id
versioning_configuration {
status = "Enabled"
}
}



Expand Down

0 comments on commit ee74729

Please sign in to comment.