So our team is still focused on going deep into use-cases with Terraform (e.g. handling large mono repos,
guardrails,
cost policies) and once TF users are happy with those, we’d like to step back and enable the same use-cases for other IaC tools.
Given the open source nature of the product, if you like you can do what another community member has done with Pulumi and prototype on a fork, e.g. see
https://github.com/infracost/infracost/pull/1752 (is a good guide of the code areas that your team can look at). I’ll just set your expectations that we don’t have time to review/work on it yet.
If you’d like to prototype, you can fork the
CLI repo, start with a simple ARM template,
this repo seems to have good examples, and just focus on the
breakdown
command to start with. Success would look like a user being able to run
infracost breakdown --path azuredeploy.json
and seeing the cost estimate. If you need to pass-in params, e.g. for the region or other inputs, you can add a CLI flag for that (in the same way
--terraform-var
or
--terraform-var-file
exists, or use env vars like
TF_VAR_myparam=myvalue
.