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

bucket creation failure due to acl/ownership conflict #27

Open
sparr opened this issue Apr 24, 2024 · 0 comments
Open

bucket creation failure due to acl/ownership conflict #27

sparr opened this issue Apr 24, 2024 · 0 comments

Comments

@sparr
Copy link

sparr commented Apr 24, 2024

hashicorp/terraform-provider-aws#26164

Error: creating S3 Bucket (foo-tf-state-logs): operation error S3: CreateBucket, https response error StatusCode: 400, RequestID: XKSF4PSZPC0TFSRK, HostID: RwFULMMW2Lvj/CXLARoI9m1YZup/gYgM6+SToJn+T/3zIaWxpHGTYfVIomoJRY+XMMoYmPDa6VfZgFyezUvQBA==, api error InvalidBucketAclWithObjectOwnership: Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting

I have been working around this by doing sed -i.bak 's/^ acl/# acl/' .terraform/modules/backend/main.tf after init/update the backend module, but that's very hacky.

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