From c020d548868c636123f645a199e7a293217cc153 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Thu, 1 Dec 2022 18:38:18 -0500 Subject: [PATCH] Fix a bug in aws_s3_bucket_lifecycle_configuration.assetstore configuration --- modules/assetstore/main.tf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/assetstore/main.tf b/modules/assetstore/main.tf index 61a3539..dcf295f 100644 --- a/modules/assetstore/main.tf +++ b/modules/assetstore/main.tf @@ -52,9 +52,11 @@ resource "aws_s3_bucket_lifecycle_configuration" "assetstore" { bucket = aws_s3_bucket.assetstore.id rule { - id = "abort-incomplete-multipart-upload" - status = "Enabled" - abort_incomplete_multipart_upload = 7 + id = "abort-incomplete-multipart-upload" + status = "Enabled" + abort_incomplete_multipart_upload { + days_after_initiation = 7 + } } }