diff --git a/infrastructure/modules/bootstrap/tfstate/s3.tf b/infrastructure/modules/bootstrap/tfstate/s3.tf index 658ed2d08..f17a435ee 100644 --- a/infrastructure/modules/bootstrap/tfstate/s3.tf +++ b/infrastructure/modules/bootstrap/tfstate/s3.tf @@ -80,7 +80,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "tfstate_bucket" { } expiration { - days = 90 + days = 1200 } noncurrent_version_transition { diff --git a/infrastructure/modules/s3/variables.tf b/infrastructure/modules/s3/variables.tf index 22830c426..9bde07620 100644 --- a/infrastructure/modules/s3/variables.tf +++ b/infrastructure/modules/s3/variables.tf @@ -4,7 +4,7 @@ variable "bucket_name" { } variable "bucket_expiration_days" { - default = 90 + default = 1200 description = "How long to keep bucket contents before expiring" type = number }