Skip to content

Commit d3b6e5d

Browse files
committed
added filter to s3 bucket lifecycle
1 parent 13c97ec commit d3b6e5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

s3.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ resource "aws_s3_bucket_lifecycle_configuration" "this" {
6161
rule {
6262
status = "Enabled"
6363
id = "${var.artifact_retention}-days"
64+
filter {
65+
prefix = ""
66+
}
6467
expiration {
6568
days = var.artifact_retention
6669
}

0 commit comments

Comments
 (0)