Skip to content

Commit

Permalink
The private acl is new preferred
Browse files Browse the repository at this point in the history
  • Loading branch information
andysingleton committed Jun 19, 2024
1 parent 17b7b14 commit 8c06074
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions module_s3_bucket_cloudfront_logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ module "bucket_cloudwatch_logs_backup" {
bucket = local.logging_bucket_name
force_destroy = false
tags = var.common_tags
grant = [
{
type = "CanonicalUser"
permission = "FULL_CONTROL"
id = data.aws_canonical_user_id.current.id
}
]
acl = "private"

# Bucket public access
restrict_public_buckets = true
Expand Down

0 comments on commit 8c06074

Please sign in to comment.