From 36afe7545d47b98a441e4fdfb5a490b135cddee5 Mon Sep 17 00:00:00 2001 From: SahidKhan89 Date: Mon, 6 Nov 2023 16:11:05 +0000 Subject: [PATCH] CC-2151: Enable versioning on backup s3 bucket --- terraform/environments/ccms-ebs/ccms-s3.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/ccms-ebs/ccms-s3.tf b/terraform/environments/ccms-ebs/ccms-s3.tf index 274a831eae0..aa88149ce75 100644 --- a/terraform/environments/ccms-ebs/ccms-s3.tf +++ b/terraform/environments/ccms-ebs/ccms-s3.tf @@ -187,7 +187,7 @@ module "s3-bucket-dbbackup" { source = "github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket?ref=v7.1.0" bucket_name = local.rsync_bucket_name - versioning_enabled = false + versioning_enabled = true bucket_policy = [data.aws_iam_policy_document.dbbackup_s3_policy.json] log_bucket = local.logging_bucket_name