mirror of
https://github.com/Telecominfraproject/wlan-toolsmith.git
synced 2025-10-30 10:32:20 +00:00
add S3 lifecycle rule (#185)
This commit is contained in:
@@ -53,6 +53,18 @@ resource "aws_s3_bucket" "bucket" {
|
||||
expose_headers = ["ETag"]
|
||||
max_age_seconds = 3000
|
||||
}
|
||||
|
||||
lifecycle_rule {
|
||||
id = "dev_retention"
|
||||
enabled = true
|
||||
tags = {
|
||||
release = "false"
|
||||
}
|
||||
|
||||
expiration {
|
||||
days = 60
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resource "aws_s3_bucket" "log_bucket" {
|
||||
|
||||
Reference in New Issue
Block a user