faint-oyster-2132904/07/2023, 5:16 PM
file instead of the plan? basically, if a user changes values in the params file and saves, but doesn't deploy, we don't want an updated cost based on the params. we just want to know the estimated cost based on what's listed in the state file 🤞
crooked-daybreak-5525304/07/2023, 5:27 PM
flagto convert your .tfstate to a state JSON, then call
infracost breakdown -path=tfstate.json
and we’ll generate an estimate directly from the .tf files, i.e.
. It tends to be much faster than generating a plan json.
infracost breakdown --path=./my/terraform_project
faint-oyster-2132904/07/2023, 6:00 PM
crooked-daybreak-5525304/07/2023, 7:35 PM
flag to the breakdown command. You can also set
to put it in a file
white-airport-877804/07/2023, 7:36 PM