broad-zoo-34077
04/13/2022, 10:22 AMmysterious-teacher-68276
04/13/2022, 10:23 AMdry-football-79311
04/13/2022, 10:23 AMdry-football-79311
04/13/2022, 12:18 PM- name: Run Infracost
run: infracost breakdown --path=examples/terragrunt/code --format=json --out-file=/tmp/infracost.json
i though path was for plan.json ?busy-agent-35515
04/13/2022, 12:29 PM--path
can accept a directory too https://www.infracost.io/docs/features/cli_commands/#option-1-terraform-directory. This is a simplest way to start using Infracost 🙂busy-agent-35515
04/13/2022, 12:32 PMdry-football-79311
04/14/2022, 3:13 PMbusy-agent-35515
04/14/2022, 3:19 PMwhite-airport-8778
dry-football-79311
04/15/2022, 8:31 AMdry-football-79311
04/15/2022, 8:32 AMdry-football-79311
04/15/2022, 8:32 AMmysterious-teacher-68276
04/15/2022, 8:35 AMinfracost configure get api_key
then set it with
infracost configure set api_key ${token_from_before}
dry-football-79311
04/15/2022, 8:35 AMdry-football-79311
04/15/2022, 8:46 AMmysterious-teacher-68276
04/15/2022, 8:47 AM--behaviour
are you running with infracost comment
with? If it’s update
this will only create one comment and update it with costs as they change. If you want a new comment every time you can use new
mysterious-teacher-68276
04/15/2022, 8:48 AMhide-and-new
which hide previous matching comments and create a new comment or delete-and-new
which deletes a previous matching comments and create a new commentdry-football-79311
04/15/2022, 8:51 AMmysterious-teacher-68276
04/15/2022, 8:53 AM