ucsc-cgp / cloud-billing-report

Generates a summary billing report for various UCSC-CGP cloud accounts.
5 stars 4 forks source link

Feature/aggregation errors #57

Closed Richard-Hansen closed 2 years ago

Richard-Hansen commented 2 years ago

Refactoring the old AWS generate_report() to make it maintainable. We are now leverage the AWS Cost Explorer API to generate the necessary information for Accounts, Services, and various Usage Types. Cost Explorer doesn't support resource-level queries, so we still use the AWS billing report CSV for that.

This significantly reduces the logic that we need to maintain on our end, and makes understanding what's going on far easier.