bcgov / cloud-pathfinder

This is the technology and UX backend repo for the cloud pathfinder ZenHub task board
https://app.zenhub.com/workspaces/cloud-pathfinder-5e4dbb426c3c6af8dcbf06a7/board?repos=241742911
Creative Commons Zero v1.0 Universal
2 stars 8 forks source link

AWS Cost Category TF Module for Executive Dashboard #3089

Open wrnu opened 1 month ago

wrnu commented 1 month ago

Describe the Issue

We want to be able to generate reports on the live landing zone workload accounts usage in the following categories:

Implement AWS cost categories for AWS services grouped into those roles using rules. Implement a Terraform module to do this for deployment in the core repo.

Additional Context

This implementation will enhance our ability to track and analyze costs across different service categories in our AWS environment. The Terraform module should be designed to be flexible and reusable, allowing for easy deployment and management of cost categories across our AWS accounts.

Acceptance Criteria

  1. A Terraform module is created that implements AWS cost categories.
  2. The module successfully creates separate cost categories for Support, Compute, Networking, Logging, Security, Storage, and Other.
  3. Each cost category correctly groups relevant AWS services using appropriate rules.
  4. The module can be easily deployed in the core repo.
  5. Documentation is provided for how to use and customize the module.
  6. After implementation, we can generate reports showing workload account usage across all defined categories.
  7. The solution is tested in a non-production environment before being applied to production.
  8. The module includes variables for easy customization of category names and rule definitions if needed.