AWS Lambda function that checks the total costs for your account for this month and reports if you are over budget.
To use this, follow the instructions in my first AWS Lambda gist.
Tips
- For your lambda function's execution role, give CloudWatch Read-Only permissions.
- To ensure you are getting stuff back from CloudWatch, give another user account those same permissions and run locally using those credentials. Also, turn on debug mode via
export DEBUG=true
.