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.
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 fromcost.Plan
to[]cost.Plan
as at the end each one should have a different separated estimation. The other is to have thecost.Plan
differentiate between the different possible modules and define thePrior, Planned *cost.State
for each one of them this way the main signature does not change that much. Thecost.State
will not change as it's the minimal set of attributes.