Skip to content

Commit

Permalink
Merge pull request #7191 from ministryofjustice/core-shared-services/…
Browse files Browse the repository at this point in the history
…s3-artefact-fixes

core-shared-services: s3 artefact fixes
  • Loading branch information
richgreen-moj authored Jun 11, 2024
2 parents 2e7030a + 537d126 commit b0a6163
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions terraform/environments/core-shared-services/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,9 @@ module "s3-bucket" {
{
days = 90
storage_class = "STANDARD_IA"
}, {
days = 365
storage_class = "GLACIER"
}
]

expiration = {
days = 730
}

noncurrent_version_transition = [
{
days = 90
Expand All @@ -59,7 +52,9 @@ data "aws_iam_policy_document" "bucket_policy" {
effect = "Allow"
actions = [
"s3:GetObject",
"s3:GetObjectTagging",
"s3:PutObject",
"s3:PutObjectTagging",
"s3:DeleteObject",
"s3:ListBucket"
]
Expand Down

0 comments on commit b0a6163

Please sign in to comment.