binbashar / le-tf-infra-aws

Terraform code for Leverage Reference Architecture for AWS, designed under optimal configs for the most popular modern web and mobile applications needs.
https://www.binbash.co/leverage
Apache License 2.0
24 stars 7 forks source link

Feature | Costs reporting tool #535

Closed joseapeinado closed 6 months ago

joseapeinado commented 8 months ago

What?

Create a Costs Reporting Tool based on Lambda to fetch Costs Explorer information across accounts. The main goal is schedule the function every 1st of month to gather the costs associated to the past month, and compare them with the latter month. The costs will be shown in HTML tables to ease the readability and will be sent to a comma-separated list of emails. It also adds the capability to get the costs associated to specific Costs Allocation Tags.

Why?

Currently AWS doesn't provide a way to send reports programmatically.

References

Closes Github issue #529

Obs

This layer will be converted to a module soon to improve the way it is configured.

github-actions[bot] commented 8 months ago

Infracost report

💰 Monthly cost will not change

This comment will be updated when code changes.