-
Notifications
You must be signed in to change notification settings - Fork 342
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
s3_bucket module always fails in AWS GovCloud #2180
Labels
Comments
patchback bot
pushed a commit
that referenced
this issue
Jul 23, 2024
SUMMARY Closes #2180 Transfer acceleration is not available for AWS GovCloud region, this PR performs the following changes GetBucketAccelerateConfiguration operation is performed only if the user has provided accelerate_enabled option When GetBucketAccelerateConfiguration raises an UnsupportedArgument botocore exception, the module will display a warning message accelerate_enabled is set in the output only if it was provided as input ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3_bucket Reviewed-by: Mike Graves <[email protected]> Reviewed-by: Mandar Kulkarni <[email protected]> Reviewed-by: Bikouo Aubin Reviewed-by: Helen Bailey <[email protected]> (cherry picked from commit 7d6a5ef)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Aug 28, 2024
…#2202) This is a backport of PR #2194 as merged into main (7d6a5ef). SUMMARY Closes #2180 Transfer acceleration is not available for AWS GovCloud region, this PR performs the following changes GetBucketAccelerateConfiguration operation is performed only if the user has provided accelerate_enabled option When GetBucketAccelerateConfiguration raises an UnsupportedArgument botocore exception, the module will display a warning message accelerate_enabled is set in the output only if it was provided as input ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3_bucket Reviewed-by: Mark Chappell
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
With the introduction of Transfer Acceleration support in #2046,
s3_bucket
module always fails in AWS GovCloud.I believe this is due to
get_bucket_accelerate_configuration
API call here and the fact that Transfer Acceleration is not supported in GovCloud.Issue Type
Bug Report
Component Name
s3_bucket
Ansible Version
Collection Versions
AWS SDK versions
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Expected Results
Bucket is created, or no changes are made if the bucket already exists.
Actual Results
Failed to fetch bucket transfer acceleration state: An error occurred (UnsupportedArgument) when calling the GetBucketAccelerateConfiguration operation: The request contained an unsupported argument.
Code of Conduct
The text was updated successfully, but these errors were encountered: