File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 88
99| Name | Version |
1010| ------| ---------|
11- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 5.86.1 |
11+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 5.84.0 |
1212
1313## Modules
1414
330330| [ aws_s3_bucket.logs_bucket] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket ) | resource |
331331| [ aws_s3_bucket_lifecycle_configuration.doc-store-lifecycle-rules] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_lifecycle_configuration ) | resource |
332332| [ aws_s3_bucket_lifecycle_configuration.lg-lifecycle-rules] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_lifecycle_configuration ) | resource |
333+ | [ aws_s3_bucket_lifecycle_configuration.ndr-zip-request-store-lifecycle-rules] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_lifecycle_configuration ) | resource |
333334| [ aws_s3_bucket_lifecycle_configuration.staging-store-lifecycle-rules] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_lifecycle_configuration ) | resource |
334335| [ aws_s3_bucket_policy.access_logs] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_policy ) | resource |
335336| [ aws_s3_bucket_policy.logs_bucket_policy] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_policy ) | resource |
Original file line number Diff line number Diff line change @@ -170,6 +170,18 @@ resource "aws_s3_bucket_lifecycle_configuration" "staging-store-lifecycle-rules"
170170 }
171171}
172172
173+ resource "aws_s3_bucket_lifecycle_configuration" "ndr-zip-request-store-lifecycle-rules" {
174+ bucket = module. ndr-zip-request-store . bucket_id
175+ rule {
176+ id = " Delete objects that have existed for 24 hours"
177+ status = " Enabled"
178+
179+ expiration {
180+ days = 1
181+ }
182+ }
183+ }
184+
173185# Logging Buckets
174186resource "aws_s3_bucket" "access_logs" {
175187 count = local. access_logs_count
You can’t perform that action at this time.
0 commit comments