Skip to content

A lambda function to format and forward AWS cloudwatch event to slack channel

License

Notifications You must be signed in to change notification settings

telia-oss/aws-notify-slack

Repository files navigation

AWS-Notify-Slack

Build Status

A lambda function that format and forward a AWS cloudwatch event to slack

alt text alt text

Supported event types

  • CloudWatch
  • ECS Task State Change
  • Autoscaling

Run unit tests

$ make test

Build binary

$ make build

Run function using sam local with snsEvent payload

$ make run

Environment Variables

Name Required Type Description
SLACK_HOOK Yes String Slack hook url
USERNAME No String Slack username
ICON No String Slack icon

Terraform

The Terraform module for this lambda can be found here

Authors

Currently maintained by these contributors.

License

MIT License. See LICENSE for full details.