Skip to content
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

Support subscribing to SNS ARNs #1048

Merged
merged 2 commits into from
Jan 17, 2019
Merged

Conversation

JordonPhillips
Copy link
Member

This updates @app.on_sns_message to accept either the topic name or
the topic ARN rather than just the name. While accepting the name can
be a simpler experience, it prevents users from subscribing to topics
that are in other regions or other accounts.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-io
Copy link

codecov-io commented Jan 14, 2019

Codecov Report

Merging #1048 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1048      +/-   ##
==========================================
+ Coverage   95.47%   95.48%   +<.01%     
==========================================
  Files          27       27              
  Lines        4488     4494       +6     
  Branches      563      565       +2     
==========================================
+ Hits         4285     4291       +6     
  Misses        131      131              
  Partials       72       72
Impacted Files Coverage Δ
chalice/package.py 100% <100%> (ø) ⬆️
chalice/deploy/planner.py 96.31% <100%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8426d4c...3da5f69. Read the comment docs.

This updates `@app.on_sns_message` to accept either the topic name or
the topic ARN rather than just the name. While accepting the name can
be a simpler experience, it prevents users from subscribing to topics
that are in other regions or other accounts.
Copy link
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🚢

@JordonPhillips JordonPhillips merged commit 30454ab into aws:master Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants