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

Error: error creating S3 bucket ACL for bucket. #398

Open
rexwangcc opened this issue Apr 23, 2023 · 0 comments
Open

Error: error creating S3 bucket ACL for bucket. #398

rexwangcc opened this issue Apr 23, 2023 · 0 comments

Comments

@rexwangcc
Copy link

Hi, recently we start to see:

│ Error: error creating S3 bucket ACL for ***: AccessControlListNotSupported: The bucket does not allow ACLs
│       status code: 400, request id: ***, host id: ***
│ 
│   with module.rancher.module.rke2_cluster.module.statestore.aws_s3_bucket_acl.acl,
│   on .terraform/modules/rancher.rke2_cluster/modules/statestore/main.tf line 8, in resource "aws_s3_bucket_acl" "acl":
│    8: resource "aws_s3_bucket_acl" "acl" {

It's pretty weird since we didn't run into this issue couple months ago, after digging into it deeper, it seems like AWS has changed the default behavior recently:

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

No branches or pull requests

1 participant