broad-zoo-34077
07/08/2022, 9:10 AMwhite-exabyte-86434
07/08/2022, 12:05 PMproud-autumn-18173
07/08/2022, 1:11 PMcrooked-daybreak-55253
07/08/2022, 2:41 PM--terraform-force-cli
flag as a workaround. It calls the Terraform binary to generate a plan file so it is much slower than our normal method of parsing the HCL directly. Alternatively, you can pass a plan.json directly to --path
proud-autumn-18173
07/08/2022, 3:50 PMinfracost breakdown --path . --terraform-force-cli --format json --out-file infracost-base.json
Edit main.tf and increase disk allocation on a vm
Get difference in costs:
infracost diff --path . --terraform-force-cli --compare-to infracost-base.json
Does that look correct as when I run it there are no changed detected.?crooked-daybreak-55253
07/08/2022, 3:55 PMbreakdown
and diff
. If you modify your .tf and run diff again, you should see the change reflected (if it has a cost impact of course).crooked-daybreak-55253
07/08/2022, 3:56 PMmain
or master
branch to generate the infracost-base.json
, then run diff
on a feature branch.proud-autumn-18173
07/08/2022, 3:58 PM