-
Notifications
You must be signed in to change notification settings - Fork 397
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
sns_topic module always deletes and replaces SMS subscriptions #453
Comments
Files identified in the description: If these files are inaccurate, please update the |
@overhacked: Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information. Here are the items we could not find in your description:
Please set the description of this issue with this template: |
Files identified in the description:
If these files are inaccurate, please update the |
Adds `+` to the list of acceptable characters in an SMS endpoint. Closes ansible-collections#453.
…subscriptions (#454) * Update sns_topic.py Adds `+` to the list of acceptable characters in an SMS endpoint. Closes #453. * Add changelog fragment for #454 * sns_topic: comment explaining SMS canonicalization Add comment documenting to what standard SMS endpoint addresses (phone numbers) are canonicalized * sns_topic: fix changelog * Get quoting correct * Simplify message to leave details in PR description Co-authored-by: Mark Chappell <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
…subscriptions (ansible-collections#454) * Update sns_topic.py Adds `+` to the list of acceptable characters in an SMS endpoint. Closes ansible-collections#453. * Add changelog fragment for ansible-collections#454 * sns_topic: comment explaining SMS canonicalization Add comment documenting to what standard SMS endpoint addresses (phone numbers) are canonicalized * sns_topic: fix changelog * Get quoting correct * Simplify message to leave details in PR description Co-authored-by: Mark Chappell <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
…subscriptions (ansible-collections#454) * Update sns_topic.py Adds `+` to the list of acceptable characters in an SMS endpoint. Closes ansible-collections#453. * Add changelog fragment for ansible-collections#454 * sns_topic: comment explaining SMS canonicalization Add comment documenting to what standard SMS endpoint addresses (phone numbers) are canonicalized * sns_topic: fix changelog * Get quoting correct * Simplify message to leave details in PR description Co-authored-by: Mark Chappell <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
…subscriptions (ansible-collections#454) * Update sns_topic.py Adds `+` to the list of acceptable characters in an SMS endpoint. Closes ansible-collections#453. * Add changelog fragment for ansible-collections#454 * sns_topic: comment explaining SMS canonicalization Add comment documenting to what standard SMS endpoint addresses (phone numbers) are canonicalized * sns_topic: fix changelog * Get quoting correct * Simplify message to leave details in PR description Co-authored-by: Mark Chappell <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
…subscriptions (ansible-collections#454) * Update sns_topic.py Adds `+` to the list of acceptable characters in an SMS endpoint. Closes ansible-collections#453. * Add changelog fragment for ansible-collections#454 * sns_topic: comment explaining SMS canonicalization Add comment documenting to what standard SMS endpoint addresses (phone numbers) are canonicalized * sns_topic: fix changelog * Get quoting correct * Simplify message to leave details in PR description Co-authored-by: Mark Chappell <[email protected]> Co-authored-by: Mark Chappell <[email protected]>
…inimum we claim) (ansible-collections#453) ec2_vol tests set botocore requires to == rather than >= SUMMARY We currently use >= which generally means that the latest version of botocore will be pulled in. Given that we specify it's supposed to work with >= we should test the oldest possible version to ensure that we support at least that version. ISSUE TYPE Tests Pull Request COMPONENT NAME ec2_vol ADDITIONAL INFORMATION Depends-on: ansible-collections#460 Reviewed-by: None <None>
…nsible-collections#404) Add constraints.txt and requirements.txt for unit/integration tests SUMMARY Now that we state that we support specific minimum versions of the AWS SDKs, make sure we base our unit/integration tests against them such that modules need to explicitly test/request newer versions of the SDKs. ISSUE TYPE Feature Pull Request COMPONENT NAME tests/integration tests/unit ADDITIONAL INFORMATION Once merged into amazon.aws we should merge this into community.aws Depends-On: ansible-collections#453 Depends-On: ansible-collections#454 Depends-On: ansible-collections#450 Depends-On: ansible-collections#496 See also: ansible/ansible-zuul-jobs#991 Reviewed-by: Jill R <None> Reviewed-by: None <None>
SUMMARY
The
sns_topic
module always deletes and replaces SMS subscriptions, because the_canonicalize_endpoint()
function strips all non-numeric characters. A leading+
character is added by AWS when a new subscription is created, so thesns_topic
module never sees its previously-created subscriptions.ISSUE TYPE
COMPONENT NAME
sns_topic
ANSIBLE VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
On the first run, the task result is
changed
. On the second run, the task result isok
.ACTUAL RESULTS
The task result is
changed
on both runs.Verbatim command output
The text was updated successfully, but these errors were encountered: