Closed dgsangoma closed 1 year ago
@dgsangoma,
Thanks for taking the time to open this issue.
Amazon have indeed dropped support for disabling encryption.
We merged a change yesterday which will reflect this: https://github.com/ansible-collections/amazon.aws/pull/1395
The docs have been updated to reflect this, however, since we (sort-of) support various S3 compatible services we've left the code in place to handle it.
Summary
I think the option to set "encryption: none" in the s3_bucket module is no longer supported by AWS per https://docs.aws.amazon.com/AmazonS3/latest/userguide/default-encryption-faq.html. We were using this until recently when it started failing with a confusing "Bucket encryption failed to apply in the expected time" error for an existing bucket because AWS has seemingly been slowly enabling AES256 on all existing unencrypted buckets.
Issue Type
Bug Report
Component Name
s3_bucket
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
No response
Steps to Reproduce
Expected Results
Expected task to succeed, but failed with a timeout error due to breaking AWS changes.
Actual Results
Code of Conduct