Skip to content

Commit be39d7f

Browse files
authored
Merge pull request #16 from aws-samples/s3_filter
added filter to s3 bucket lifecycle
2 parents 13c97ec + d3b6e5d commit be39d7f

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)