Skip to content

Commit 3b33851

Browse files
committed
OCPBUGS-11636: AWS - Remove ACLs from s3 ign
AWS has recently disabled ACL support by default. See https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/ for further information. This commit removes our usage of ACLs. By default, S3 buckets will have public access blocked.
1 parent 46c3594 commit 3b33851

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

data/data/aws/bootstrap/main.tf

-6
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,10 @@ resource "aws_s3_bucket" "ignition" {
5959
}
6060
}
6161

62-
resource "aws_s3_bucket_acl" ignition {
63-
bucket = aws_s3_bucket.ignition.id
64-
acl = "private"
65-
}
66-
6762
resource "aws_s3_object" "ignition" {
6863
bucket = aws_s3_bucket.ignition.id
6964
key = "bootstrap.ign"
7065
source = var.ignition_bootstrap_file
71-
acl = "private"
7266

7367
server_side_encryption = "AES256"
7468

0 commit comments

Comments
 (0)