Skip to content

Conversation

@mojosailor
Copy link

Add a new AWS Lambda function that sends daily email reports of current month-to-date AWS charges via SNS. The function uses AWS Cost Explorer API to retrieve billing data and formats it into a readable email report.

Features:

  • Retrieves month-to-date costs from AWS Cost Explorer
  • Breaks down costs by AWS service with percentages
  • Sends formatted email report via SNS
  • Includes comprehensive documentation and Terraform deployment example

Files added:

  • files/lambda/daily_billing_email.py - Main Lambda function
  • files/lambda/README_daily_billing_email.md - Documentation
  • tf_files/aws/daily_billing_email_example.tf - Terraform deployment example

The function can be scheduled to run daily using CloudWatch Events and requires IAM permissions for Cost Explorer API and SNS publish.

Link to JIRA ticket if there is one:

New Features

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

claude and others added 2 commits October 31, 2025 05:00
Add a new AWS Lambda function that sends daily email reports of current
month-to-date AWS charges via SNS. The function uses AWS Cost Explorer API
to retrieve billing data and formats it into a readable email report.

Features:
- Retrieves month-to-date costs from AWS Cost Explorer
- Breaks down costs by AWS service with percentages
- Sends formatted email report via SNS
- Includes comprehensive documentation and Terraform deployment example

Files added:
- files/lambda/daily_billing_email.py - Main Lambda function
- files/lambda/README_daily_billing_email.md - Documentation
- tf_files/aws/daily_billing_email_example.tf - Terraform deployment example

The function can be scheduled to run daily using CloudWatch Events and
requires IAM permissions for Cost Explorer API and SNS publish.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants