Skip to content

Commit 8ef1436

Browse files
authored
PRMP-910 Add lifecycle rule review bucket (#519)
Signed-off-by: NogaNHS <[email protected]>
1 parent 340116a commit 8ef1436

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

infrastructure/buckets.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,17 @@ resource "aws_s3_bucket_lifecycle_configuration" "ndr_document_pending_review_st
281281
}
282282
filter {}
283283
}
284+
rule {
285+
id = "remove-delete-markers-after-42-days"
286+
status = "Enabled"
287+
expiration {
288+
expired_object_delete_marker = true
289+
}
290+
noncurrent_version_expiration {
291+
noncurrent_days = 42
292+
}
293+
filter {}
294+
}
284295
}
285296

286297
# Logging Buckets

0 commit comments

Comments
 (0)