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

🐛 BUG: Fix the ACL API error when creating an S3 bucket with the s3 module #1068

Open
1 task
ewastempel opened this issue Jan 9, 2025 · 0 comments
Open
1 task
Assignees

Comments

@ewastempel
Copy link
Contributor

❌Issue
Terraform apply fails with the following ACL API error when creating an S3 bucket with the s3 module

 Error: creating S3 Bucket (moj-cur-reports-greenopspoc) ACL: operation error S3: PutBucketAcl, https response error StatusCode: 400, RequestID: SCCFMB71N00XRYRB, HostID: 5ayqSLcVJtr27/v89uXtv0vDKtNxsIxMb9hKT2YCbanrGqFZUdZJR6Cgz+FRIb4NnJ6ghH50u4g=, api error AccessControlListNotSupported: The bucket does not allow ACLs
│ 
│   with module.cur_reports_greenopspoc_s3_bucket.aws_s3_bucket_acl.default,
│   on ../../modules/s3/main.tf line 16, in resource "aws_s3_bucket_acl" "default":
│   16: resource "aws_s3_bucket_acl" "default" {

👀 Purpose

  • To investigate why Terraform Apply fails when creating a new S3 bucket with the S3 module
  • To restore confidence in the quality of our code

✅ Definition of Done

  • Creating an S3 bucket results in no ACL API errors

📓 Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant