From d1cd1418ed03a8822393197599a415560a5c315d Mon Sep 17 00:00:00 2001 From: Doug Shelley Date: Fri, 26 May 2023 10:53:52 -0400 Subject: [PATCH] VAN-4147 Remove use of ACL to set AWS bucket private AWS now defaults buckets to be private and disables ACL use so we no longer need to set this. --- tools/cust_acct_setup/aws/modules/s3/main.tf | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/cust_acct_setup/aws/modules/s3/main.tf b/tools/cust_acct_setup/aws/modules/s3/main.tf index 88c0e680..e0cd2530 100644 --- a/tools/cust_acct_setup/aws/modules/s3/main.tf +++ b/tools/cust_acct_setup/aws/modules/s3/main.tf @@ -3,11 +3,6 @@ resource "aws_s3_bucket" "secure_bucket" { force_destroy = true } -resource "aws_s3_bucket_acl" "secure_bucket_acl" { - bucket = aws_s3_bucket.secure_bucket.id - acl = "private" -} - resource "aws_s3_bucket_versioning" "secure_bucket_versioning" { bucket = aws_s3_bucket.secure_bucket.id versioning_configuration {