Closed Tyler-2 closed 2 years ago
Files identified in the description:
plugins/modules/aws_s3.py
](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/aws_s3.py)If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @jillr @linabuzachis @lwade @s-hertel @tremble click here for bot help
Summary
When I try to use
aws_s3
to upload a file to a bucket where ACLs are disabled, it fails with:I suspect that the module is simply attempting to specify ACLs for uploaded files unconditionally, and would either need to check whether the bucket has ACLs disabled before hand, or accept object ACLs as configuration items.
Issue Type
Bug Report
Component Name
aws_s3
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
No response
Steps to Reproduce
Expected Results
I expect the file to upload without issue.
Actual Results
Code of Conduct