From 5d345ffbf1986b51fac6ee70a12f13c8954a4a5d Mon Sep 17 00:00:00 2001 From: javsanbel2 Date: Thu, 28 Nov 2024 17:00:40 +0100 Subject: [PATCH] Adding versioning --- variables.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/variables.tf b/variables.tf index 9151244..1c4bd3b 100644 --- a/variables.tf +++ b/variables.tf @@ -1095,6 +1095,18 @@ variable "ecs_requires_compatibilities" { default = ["EC2", "FARGATE"] } +variable "noncurrent_version_expiration_days" { + description = "Number of days (TTL) before objects are expired. Bucket need to have versioning enabled." + type = number + default = 7 +} + +variable "newer_noncurrent_versions" { + description = "Number of noncurrent versions Amazon S3 will retain. Must be a non-zero positive integer. Bucket need to have versioning enabled." + type = number + default = 3 +} + variable "hms_ro_tolerations" { description = <