/cloudwatch-alarm-to-slack

A :star: lambda for sending your CloudWatch :alarm_clock: alarms into Slack

Primary LanguageJavaScriptMIT LicenseMIT

A ⭐ lambda for sending your CloudWatch ⏰ alarms into Slack

Coverage Status Known Vulnerabilities

Uses AWS SNS to send AWS CloudWatch alarms to trigger AWS Lambda code that pushes them to Slack.

How to deploy

Deploy it from your terminal

Deploying it from your terminal requires terraform installed on your system and an antifragile infrastructure setup available in your AWS account.

Clone the GitHub repo
git clone https://github.com/hfreire/cloudwatch-alarm-to-slack.git
Change current directory
cd cloudwatch-alarm-to-slack
Run the NPM script that will deploy all functions
npm run deploy

Available deployment environment variables

Variable Description Required Default value
SLACK_WEBHOOK_URL The Slack incoming webhook URL to send the alarm message. true undefined

How to contribute

You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.

All donation proceedings will go to the Sverige för UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.

License

Read the license for permissions and limitations.