broad-zoo-34077
04/07/2023, 5:16 PMcrooked-daybreak-55253
04/07/2023, 5:27 PM-json
flagto convert your .tfstate to a state JSON, then call infracost breakdown -path=tfstate.json
crooked-daybreak-55253
04/07/2023, 5:30 PM--path
and we’ll generate an estimate directly from the .tf files, i.e. infracost breakdown --path=./my/terraform_project
. It tends to be much faster than generating a plan json.faint-oyster-21329
04/07/2023, 6:00 PMfaint-oyster-21329
04/07/2023, 6:01 PMfaint-oyster-21329
04/07/2023, 7:34 PMcrooked-daybreak-55253
04/07/2023, 7:35 PM--format=json
flag to the breakdown command. You can also set --out-file=infracost.json
to put it in a filewhite-airport-8778