A serverless Lambda function that notifies you of your month-to-date AWS spend using Notifox.
- AWS CLI configured with appropriate permissions
- Terraform installed
- Notifox account and API credentials
git clone https://github.com/notifoxhq/aws-budget-lambda.git
cd aws-budget-lambdaThis file will be used by terraform to set environment variables inside the Lambda function.
Get your Notifox API key and audience from the console at https://console.notifox.com.
# terraform.tfvars
NOTIFOX_API_KEY="YOUR_API_KEY"
NOTIFOX_AUDIENCE="YOUR AUDIENCE"
SCHEDULE_EXPRESSION="0 20 * * ? *" # 8 PM UTC, every daycd terraform
terraform init
terraform plan
terraform applyaws lambda invoke --function-name budget-lambda /dev/null- Permission Denied: Verify IAM role has required permissions
- Notifox API Error: Check your API key and audience ID
- Cost Data Missing: Ensure Cost Explorer is enabled in your AWS account


