Send AWS monthy summary billing in a slack channel via webhook.
This is an example of message send in Slack:
To perform the project installation you need to have a package manager installed in your environment, such as the following:
git clone https://github.com/brunoxd13/aws-monthly-billing-slack-bot.git
cd aws-monthly-billing-slack-bot
Install project depencencies:
npm install
pip install pipenv
Define environment variables to work correctly, eg.:
SERVICE_QUANTITY=5
LOW_COST=70
HIGH_COST=100
Or just rename file .env-example
to .env
.
Create an incoming webhook on slack.
IMPORTANT: Configure the serverless file whith with your provider credentials. You can use this guide.
Deploy the project to your AWS account with the following command:
npm run deploy -- --slack_url="<slack_webhook_url>"
This project is licensed under the MIT License - see the LICENSE file for details