Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/telia-oss/aws-notify-slack
A lambda function to format and forward AWS cloudwatch event to slack channel
https://github.com/telia-oss/aws-notify-slack
aws cloudwatch lambda slack sns
Last synced: about 12 hours ago
JSON representation
A lambda function to format and forward AWS cloudwatch event to slack channel
- Host: GitHub
- URL: https://github.com/telia-oss/aws-notify-slack
- Owner: telia-oss
- License: mit
- Created: 2018-08-29T12:24:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-05T12:13:40.000Z (over 2 years ago)
- Last Synced: 2024-06-19T05:58:10.554Z (5 months ago)
- Topics: aws, cloudwatch, lambda, slack, sns
- Language: Go
- Homepage:
- Size: 155 KB
- Stars: 4
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS-Notify-Slack
[![Build Status](https://travis-ci.org/telia-oss/aws-notify-slack.svg?branch=master)](https://travis-ci.org/telia-oss/aws-notify-slack) ![](https://img.shields.io/maintenance/yes/2018.svg)A lambda function that format and forward a AWS cloudwatch event to slack
![alt text](https://github.com/telia-oss/aws-notify-slack/blob/master/media/warn.png)
![alt text](https://github.com/telia-oss/aws-notify-slack/blob/master/media/ok.png)## Supported event types
- [x] CloudWatch
- [x] 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](https://github.com/telia-oss/terraform-aws-lambda-slack)## Authors
Currently maintained by [these contributors](../../graphs/contributors).
## License
MIT License. See [LICENSE](LICENSE) for full details.