Skip to content

Commit

Permalink
Merge pull request #77 from nhsconnect/kb-governance
Browse files Browse the repository at this point in the history
Reinstating GOVERNANCE retention
  • Loading branch information
chrisbloe-nhse committed Mar 20, 2024
2 parents abec47f + b7d832d commit a183f22
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions terraform/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ resource "aws_s3_bucket_object_lock_configuration" "ehr_repo_bucket" {

bucket = aws_s3_bucket.ehr-repo-bucket.bucket

# rule {
# default_retention {
# mode = "GOVERNANCE"
# days = 36500 # 100 Years
# }
# }
rule {
default_retention {
mode = "GOVERNANCE"
days = 36500 # 100 Years
}
}

depends_on = [aws_s3_bucket_versioning.ehr_repo_bucket]
}
Expand Down

0 comments on commit a183f22

Please sign in to comment.