Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldgray committed Sep 14, 2023
1 parent 3b2bf5a commit 167b528
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ Notification originates from Cloudwatch Alarm -> SNS -> Lambda

## Lambda

Expects `SLACK_WEBHOOK_URL` env var.
Expects `SLACK_WEBHOOK_URL` env var to raise notification, if not supplied it will print payload that would be sent to Slack.

Parses incoming SNS message and POSTs to above webhook url.

See `sample.json` for example data, this allows the `main.py` to be run locally.

See `package.sh` to build zip file with dependencies

## Terraform

Terraform creates:
Expand Down

0 comments on commit 167b528

Please sign in to comment.