Skip to content

Commit a9b2b03

Browse files
authored
modify
1 parent 084bd66 commit a9b2b03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/terraform-plan.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ jobs:
7777
- name: Run Infracost
7878
shell: bash
7979
run: |
80-
infracost diff --path=./terraform \
80+
infracost breakdown --path=/tmp/infracost-new.json --format=json --out-file=/tmp/infracost-base.json && pwd
81+
infracost diff --path=../tfplan.json \
8182
--format=json \
82-
--compare-to=/tmp/infracost-new.json \
83-
--out-file=/tmp/infracost.json && cat /tmp/infracost.json
83+
--compare-to=/tmp/infracost-base.json \
84+
--out-file=/tmp/infracost.json
8485
8586
- name: Post Infracost Comment
8687
run: |

0 commit comments

Comments
 (0)