File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 57
57
58
58
- name : Save Plan JSON
59
59
id : save-plan
60
- run : terraform show -json tfplan.out > tfplan.json
60
+ run : terraform show -json tfplan.out > ../ tfplan.json
61
61
working-directory : ./terraform
62
62
63
63
# Checkout the branch you want Infracost to compare costs against, most commonly the target branch.
@@ -71,14 +71,14 @@ jobs:
71
71
api-key : ${{ secrets.INFRACOST_API_KEY }}
72
72
- name : Run Infracost
73
73
run : |
74
- infracost breakdown --path=./terraform/ tfplan.json --format=json --out-file=/tmp/infracost-base.json
74
+ infracost breakdown --path=./tfplan.json --format=json --out-file=/tmp/infracost-base.json
75
75
76
76
# Checkout the PR branch with your infrastructure changes.
77
77
- uses : actions/checkout@v4
78
78
- name : Run Infracost
79
79
shell : bash
80
80
run : |
81
- infracost diff --path=./terraform/ tfplan.json \
81
+ infracost diff --path=./tfplan.json \
82
82
--format=json \
83
83
--compare-to=/tmp/infracost-base.json \
84
84
--out-file=/tmp/infracost.json
You can’t perform that action at this time.
0 commit comments