Skip to content

Commit a23d453

Browse files
committed
CCM-11586: version log bucket
1 parent d3eb513 commit a23d453

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

infrastructure/terraform/components/api/s3_bucket_logging.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "logging" {
2323
}
2424
}
2525

26+
resource "aws_s3_bucket_versioning" "logging" {
27+
bucket = aws_s3_bucket.logging.id
28+
29+
versioning_configuration {
30+
status = "Enabled"
31+
}
32+
}
33+
2634
resource "aws_s3_bucket_public_access_block" "logging" {
2735
depends_on = [
2836
aws_s3_bucket_policy.logging

0 commit comments

Comments
 (0)