Closed jrglynn2 closed 1 year ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
Is this problem back? I don't see the except is_boto3_error_code('AccessControlListNotSupported'):
in the module anymore.
This specific issue shouldn't be back (undefined variable with ACLs disabled). The code was actually re-written, that variable doesn't exist any more, and the replacement is more careful to check ACLs are enabled before trying to access/set them.
Summary
When I try to create a folder using aws_s3 on an S3 bucket with ACLs disabled, I get an error
UnboundLocalError: local variable 'object_acl' referenced before assignment.
Issue Type
Bug Report
Component Name
aws_s3
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Red Hat Enterprise Linux release 8.6 (Ootpa)
Steps to Reproduce
Expected Results
I expect the folder
jrglynn2
to be created on S3 Bucketbucket_acls_disabled
Actual Results
Code of Conduct