https://github.com/d2verb/aws-billing-notifier
https://github.com/d2verb/aws-billing-notifier
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/d2verb/aws-billing-notifier
- Owner: d2verb
- Created: 2020-09-13T08:42:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-13T15:43:53.000Z (almost 6 years ago)
- Last Synced: 2025-01-16T07:38:58.596Z (over 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aws-billing-notifier
Sending billing info to your slack channel everyday.
## How to use
0. install AWS SAM CLI (see: [here](https://docs.aws.amazon.com/ja_jp/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html))
1. fill in all the contents in .envrc (you need [direnv](https://github.com/direnv/direnv))
```
export AWS_PROFILE=
export AWS_REGION=
export AWS_S3_BUCKET=
export SLACK_WEBHOOK_URL=
```
2. deploy it
```
$ make deploy
```
## Invoke function locally
You can invoke lambda function in your local environment.
```
$ make invoke
```
## References
- https://qiita.com/sotoiwa/items/fa3070f5c84f4538e774
- https://dev.classmethod.jp/articles/notify-slack-aws-billing/
- https://amezou.com/categories/slack%e3%82%b3%e3%82%b9%e3%83%88%e9%80%9a%e7%9f%a5/