Skip to content

Commit b8d30c5

Browse files
committed
eli-238 adding associated rule for multipart uploads
1 parent 59bee59 commit b8d30c5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • infrastructure/modules/bootstrap/tfstate

infrastructure/modules/bootstrap/tfstate/s3.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "tfstate_s3_access
114114

115115
rule {
116116
apply_server_side_encryption_by_default {
117-
sse_algorithm = "aws:kms"
117+
sse_algorithm = "aws:kms"
118118
kms_master_key_id = aws_kms_key.terraform_state_bucket_cmk.arn
119119
}
120120
}
@@ -140,7 +140,9 @@ resource "aws_s3_bucket_lifecycle_configuration" "tfstate_s3_access_logs_object_
140140
rule {
141141
id = "StateBucketLogsMultipartUploadExpiration"
142142
status = "Enabled"
143-
143+
filter {
144+
prefix = ""
145+
}
144146
abort_incomplete_multipart_upload {
145147
days_after_initiation = 7
146148
}

0 commit comments

Comments
 (0)