Skip to content

Commit

Permalink
CC-2151: Enable versioning on backup s3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
SahidKhan89 committed Nov 6, 2023
1 parent 16981c1 commit 36afe75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/ccms-ebs/ccms-s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36afe75

Please sign in to comment.