Skip to content

Commit 2b471bd

Browse files
authored
feat: use S3 lifecycle rule V2 (#285)
1 parent c695553 commit 2b471bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/secure-bucket/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "access_log" {
4747
id = "auto-archive"
4848
status = "Enabled"
4949

50-
prefix = "/"
50+
filter {}
5151

5252
transition {
5353
days = var.lifecycle_glacier_transition_days
@@ -114,7 +114,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "content" {
114114
id = "auto-archive"
115115
status = "Enabled"
116116

117-
prefix = "/"
117+
filter {}
118118

119119
transition {
120120
days = var.lifecycle_glacier_transition_days

0 commit comments

Comments
 (0)