cn-terraform / terraform-aws-s3-static-website

Terraform Module for AWS to host Static Website on S3
https://registry.terraform.io/modules/cn-terraform/s3-static-website/aws
Apache License 2.0
20 stars 33 forks source link

Adding ownership controls to the webite bucket #60

Closed josmo closed 1 year ago

josmo commented 1 year ago

setting the ownership controls for the website bucket to "BucketOwnerPreferred" so ACLs can be created on the bucket

This is needed for new buckets based on https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/

josmo commented 1 year ago

@jnonino I fixed the terraform fmt issue - however the other two looks like they have a key missing, probably a secret not allowed on PRs from forks. Let me know if there's anything else you need from me to get this merged in.