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

remote/s3: Support ACL attribute #3143

Closed
radeksimko opened this issue Sep 1, 2015 · 2 comments
Closed

remote/s3: Support ACL attribute #3143

radeksimko opened this issue Sep 1, 2015 · 2 comments

Comments

@radeksimko
Copy link
Member

When we set up an S3 bucket as a "global" storage for state from all other AWS accounts to which we delegated access via S3 bucket policy, we hit an issue.

By default any object uploaded by someone else to that bucket is owned and accessible only by the uploader, not by bucket owner.

This can be tuned via ACL which needs to be set per object, therefore terraform would need to be calling Put with specific ACL allowing full access or anything else to the bucket owner.

https://github.com/aws/aws-sdk-go/blob/master/service/s3/api.go#L5581

Otherwise sharing remote state across accounts via private S3 buckets won't work, unless you use different set of AWS credentials (which is effectively impossible for terraform_remote_state).

I believe acl should be just exposed as a remote config option.

@radeksimko
Copy link
Member Author

Implemented via #3233

bmcustodio pushed a commit to bmcustodio/terraform that referenced this issue Sep 26, 2017
@ghost
Copy link

ghost commented Apr 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant