-
Notifications
You must be signed in to change notification settings - Fork 403
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
community.aws.sns_topic does not work in GovCloud #836
Comments
I suspect the issue is here: https://github.com/ansible-collections/community.aws/blob/main/plugins/modules/sns_topic.py#L368 This appears to add a FifoTopic attrribute, set to false by default. Perhaps the SNS API in GovCloud does not have this parameter and is the reason for the error? If I comment out the attributes line and set it to empty, the topic is created successfully
|
@dmc5179 Fix would consist in parsing the |
@dmc5179 mind trying the fix that I released in the pull request? |
SUMMARY Add region detection to skip usage of FIFO topics when using GovCloud regions Fixes #836 ISSUE TYPE Bugfix Pull Request COMPONENT NAME community.aws.sns_topic * * Add endpoint detection to skip usage of FIFO topics for GovCloud regions * * Remove GovCloud hack for FIFO topics * Update plugins/modules/sns_topic.py * Update plugins/modules/sns_topic.py * minor docs tweak
SUMMARY Add region detection to skip usage of FIFO topics when using GovCloud regions Fixes #836 ISSUE TYPE Bugfix Pull Request COMPONENT NAME community.aws.sns_topic * * Add endpoint detection to skip usage of FIFO topics for GovCloud regions * * Remove GovCloud hack for FIFO topics * Update plugins/modules/sns_topic.py * Update plugins/modules/sns_topic.py * minor docs tweak (cherry picked from commit 2d74eda)
…in GovCloud - issue 836 (#1275) [PR #1195/2d74eda7 backport][stable-4] sns_topic - Fix bug when used in GovCloud - issue 836 This is a backport of PR #1195 as merged into main (2d74eda). SUMMARY Add region detection to skip usage of FIFO topics when using GovCloud regions Fixes #836 ISSUE TYPE Bugfix Pull Request COMPONENT NAME community.aws.sns_topic Reviewed-by: Mark Chappell <None>
Summary
The community.aws.sns_topic does not work in the GovCloud Region.
Issue Type
Bug Report
Component Name
sns_topic
Ansible Version
Collection Versions
$ ansible-galaxy collection list
This command doesn't work anymore I don't think. I only have the community.aws collection installed to test this issue.
AWS SDK versions
Configuration
Empty
OS / Environment
Red Hat Enterprise Linux release 8.4 (Ootpa)
Steps to Reproduce
Expected Results
I expect an SNS topic to be created in my AWS GovCloud Account
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: