We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfaebbb commit 948dda6Copy full SHA for 948dda6
1 file changed
infrastructure/terraform/components/api/s3_bucket_logging.tf
@@ -23,6 +23,14 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "logging" {
23
}
24
25
26
+resource "aws_s3_bucket_versioning" "logging" {
27
+ bucket = aws_s3_bucket.logging.id
28
+
29
+ versioning_configuration {
30
+ status = "Enabled"
31
+ }
32
+}
33
34
resource "aws_s3_bucket_public_access_block" "logging" {
35
depends_on = [
36
aws_s3_bucket_policy.logging
0 commit comments