-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Add ability to set canned ACL in aws_s3_bucket_object. #8091
Add ability to set canned ACL in aws_s3_bucket_object. #8091
Conversation
Tests are passing:
|
@stack72 over to you 🚀 |
An S3 Bucket owner may wish to set a canned ACL (as opposite to explicitly set grantees, etc.) for an object. This commit adds an optional "acl" attribute to the aws_s3_bucket_object resource so that the owner of the S3 bucket can specify an appropriate pre-defined ACL to use when creating an object. Signed-off-by: Krzysztof Wilczynski <[email protected]>
f315c95
to
af3c0c7
Compare
LGTM! Thanks :)
|
@stack72 The updates to the docs/website don't appear on https://www.terraform.io/docs/providers/aws/d/s3_bucket_object.html - I spent a few minutes wondering where Does the website get automatically rebuilt with any kind of frequency? |
Hi @miketheman apologies for the confusion here - the part of the docs you are looking at relates to the data source not a resource - i know this isn't very clear :( https://www.terraform.io/docs/providers/aws/r/s3_bucket_object.html#acl P. |
Hey @stack72! |
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. |
An S3 Bucket owner may wish to set a canned ACL (as opposite to explicitly set
grantees, etc.) for an object. This commit adds an optional "acl" attribute to
the aws_s3_bucket_object resource so that the owner of the S3 bucket can
specify an appropriate pre-defined ACL to use when creating an object.
Signed-off-by: Krzysztof Wilczynski [email protected]