cycloidio / terracost

Cloud cost estimation for Terraform in your CLI
MIT License
286 stars 30 forks source link

Add support for Terragrunt format #106

Closed xescugc closed 1 year ago

xescugc commented 1 year ago

We'll basically run Terragrunt and run TerraCost on the generated modules.

The output is still TBD, I'm thinking on changing the EstimateHCL return from cost.Plan to []cost.Plan as at the end each one should have a different separated estimation. The other is to have the cost.Plan differentiate between the different possible modules and define the Prior, Planned *cost.State for each one of them this way the main signature does not change that much. The cost.State will not change as it's the minimal set of attributes.