This is a simple package that sends a notification to a Slack/MS Teams channel about the billing status of the AWS account.
- Read billing information from AWS Cost Explorer
- Send notification to Slack/MS Teams over AWS Chatbot
You need configured AWS Chatbot and Slack/MS Teams channel to use this package. Check example instruction for setting up SNS topic and AWS Chatbot integration here.
To get started with this tool, follow the steps below:
- Clone this repository to your local machine.
- Add ARN of the SNS topic to the 'dev.yaml' or 'prod.yaml' file in config folder (depends of your stage).
- Optionally, you can change the region in the 'serverless.yaml' file.
- Install Serverless Framework tool to deploy the application to AWS.
- Install all the dependencies by running
npm install
in the root directory of the project. - Deploy the application to AWS by running
serverless deploy --stage dev
orserverless deploy --stage prod
in the root directory of the project.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.