Found a bug? Maybe our Slack Community can help.

Describe the Bug
Cannot create a new Cloudfront CDN using this module, the apply command fails with the following error:
Error: creating Amazon S3 (Simple Storage) Bucket (***): InvalidBucketAclWithObjectOwnership: Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting
Expected Behavior
terragrunt apply command should not fail with that error.
Steps to Reproduce
Steps to reproduce the behavior:
- Run
terragrunt apply with the bare minimum inputs
- Receive the error message
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: Pop! OS
- Version 22.04 LTS
Additional Context
From my initial research, it looks like AWS changed the default value for new S3 Buckets' ownership controls to BucketOwnerEnforced. This creates a conflict that prevents the Bucket from being created, since BucketOwnerEnforced conflicts with having an ACL defined on the Bucket.
Found a bug? Maybe our Slack Community can help.
Describe the Bug
Cannot create a new Cloudfront CDN using this module, the
applycommand fails with the following error:Expected Behavior
terragrunt applycommand should not fail with that error.Steps to Reproduce
Steps to reproduce the behavior:
terragrunt applywith the bare minimum inputsScreenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
Additional Context
From my initial research, it looks like AWS changed the default value for new S3 Buckets' ownership controls to
BucketOwnerEnforced. This creates a conflict that prevents the Bucket from being created, sinceBucketOwnerEnforcedconflicts with having an ACL defined on the Bucket.