diff --git a/modules/aws/s3/bucket/variables.tf b/modules/aws/s3/bucket/variables.tf index 8bb83f49..0b90208b 100644 --- a/modules/aws/s3/bucket/variables.tf +++ b/modules/aws/s3/bucket/variables.tf @@ -180,6 +180,7 @@ variable "intelligent_tiering_days" { variable "lifecycle_rules" { description = "(Optional) Configuration of object lifecycle management (LCM). Can have several rules as a list of maps where each map is the lifecycle rule configuration." type = any + # Commenting out as this is causing a bug where expiration is always being set to 0 days. https://github.com/zachreborn/terraform-modules/issues/60 # type = list(object({ # id = string # status = string diff --git a/modules/aws/transfer_family/variables.tf b/modules/aws/transfer_family/variables.tf index 78231b9b..f86ca55a 100755 --- a/modules/aws/transfer_family/variables.tf +++ b/modules/aws/transfer_family/variables.tf @@ -179,6 +179,7 @@ variable "vpc_id" { variable "lifecycle_rules" { description = "(Optional) Configuration of object lifecycle management (LCM). Can have several rules as a list of maps where each map is the lifecycle rule configuration." type = any + # Commenting out as this is causing a bug where expiration is always being set to 0 days. https://github.com/zachreborn/terraform-modules/issues/60 # type = list(object({ # id = string # status = string