We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd0cf2 commit 78eb7dbCopy full SHA for 78eb7db
1 file changed
terraform/deployments/govuk-publishing-infrastructure/attachments_s3.tf
@@ -16,15 +16,8 @@ module "secure_s3_bucket_attachments" {
16
17
name = "govuk-attachments-${var.govuk_environment}"
18
19
- enforce_bucket_object_ownership = false
20
- enable_public_access_block = false
21
- lifecycle_rules = var.govuk_environment == "integration" ? local.lifecycle_rules_integration : null
22
- versioning_enabled = var.govuk_environment == "production" ? true : false
23
-}
24
-
25
-resource "aws_s3_bucket_acl" "attachments" {
26
- bucket = module.secure_s3_bucket_attachments.name
27
- acl = "private"
+ lifecycle_rules = var.govuk_environment == "integration" ? local.lifecycle_rules_integration : null
+ versioning_enabled = var.govuk_environment == "production" ? true : false
28
}
29
30
moved {
0 commit comments