most-sugar-17243
03/21/2023, 12:49 AM- run: terragrunt show -json "$$PLANFILE" > "$$SHOWFILE"
- run: |
infracost breakdown --path="$$SHOWFILE" \
--format=json \
--log-level=info \
--out-file="$$INFRACOST_OUTPUT" \
--project-name="$$REPO_REL_DIR"
- run: |
infracost comment github --repo xxx \
--pull-request $$PULL_NUM \
--path $$INFRACOST_OUTPUT \
--github-token $$ATLANTIS_GH_TOKEN \
--tag $$INFRACOST_COMMENT_TAG \
--behavior new
I guess I’m trying to understand generally why we don’t need infracost diff inside cicd set up. I’m using terragrunt with atlantis as my set up. Any help would be appreciated, many thankscrooked-daybreak-55253
03/21/2023, 1:01 AM$SHOWFILE
) to infracost breakdown
and those contain both the current and planned states. Likewise the output of breakdown
contains the cost breakdown for pervious and new states, which the comment command uses to calculate the diff.white-airport-8778
most-sugar-17243
03/21/2023, 1:43 AMcrooked-daybreak-55253
03/24/2023, 1:10 AMprior_state
key has the expected resources in the showfile?