Closed vonschultz closed 2 weeks ago
Thanks for the report, could you test and see if swapping "UnsupportedArgument" for "MethodNotAllowed" (using the fix from #2202) fixes your issue?
Yes, @tremble, I can confirm that changing UnsupportedArgument
to MethodNotAllowed
in aws/plugins/modules/s3_bucket.py
(from #2202) does fix the issue.
@vonschultz There's a slightly different fix in #2267, if you're able to test it and comment over there it would be helpful.
Hopefully we'll be releasing 8.2.0 in the next week or so...
Summary
With the introduction of Transfer Acceleration support the
s3_bucket
module always fail in some regions, includingeu-north-1
. Transfer Acceleration is only supported in regions listed here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration.html. For example, I can uses3_bucket
ineu-west-1
without any errors.This is closely related to https://github.com/ansible-collections/amazon.aws/issues/2180, but I've verified that the fix for that issue, https://github.com/ansible-collections/amazon.aws/pull/2202, does not solve my problem, possibly because I'm getting
MethodNotAllowed
instead ofUnsupportedArgument
.Issue Type
Bug Report
Component Name
s3_bucket
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
Steps to Reproduce
Expected Results
Bucket is created, or no changes are made if the bucket already exists.
Actual Results
Code of Conduct