Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to default S3 settings cause module to fail #84

Closed
ihemingway opened this issue Apr 12, 2023 · 1 comment · Fixed by #93
Closed

Changes to default S3 settings cause module to fail #84

ihemingway opened this issue Apr 12, 2023 · 1 comment · Fixed by #93
Labels
bug 🐛 An issue with the system

Comments

@ihemingway
Copy link

Pardon my improper form, but changes to the default settings for S3 buckets are causing this module to fail:

https://github.com/cloudposse/terraform-aws-s3-website/blob/master/main.tf#L47

https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-bucket-faq.html

'Starting in April 2023, Amazon S3 will change the default settings for S3 Block Public Access and S3 Object Ownership (ACLs disabled) for all new S3 buckets.'

It results in this error:

Error: Error creating S3 bucket: InvalidBucketAclWithObjectOwnership: Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting

@ihemingway ihemingway added the bug 🐛 An issue with the system label Apr 12, 2023
jon-opg added a commit to alto-io/terraform-aws-s3-website that referenced this issue May 5, 2023
@jl-cayuse
Copy link

I wanted to bump this issue. It's causing significant issues getting infrastructure released on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants