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

Notify multiple channels from a single topic #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Feb 9, 2018

Hi, very useful bit of code here - thanks for writing it.

I have an addition I'd like to contribute; when hosts go down, we need to notify our NOC, as well as several sets of Operators. The modification is the ability to send notifications from a topic to multiple Slack channels.

As well , I made the debugging section a bit more generic. Rather than a hard-coded string the payload is now slurped from hard-coded Python, and environment variables can be set to test different regions and topics:

AWS_REGION
AWS_ACCOUNT_ID
TOPIC_NAME

Hope it's useful!

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.

1 participant