|
|
@@ -144,7 +144,7 @@ jobs:
|
|
|
make tf.show.${PROVIDER}
|
|
|
|
|
|
- name: Setup Infracost
|
|
|
- uses: infracost/actions/setup@v1
|
|
|
+ uses: infracost/actions/setup@v2
|
|
|
with:
|
|
|
api-key: ${{ secrets.INFRACOST_API_KEY }}
|
|
|
|
|
|
@@ -152,7 +152,7 @@ jobs:
|
|
|
run: infracost breakdown --path terraform/${{github.event.client_payload.slash_command.args.named.provider}}/plan.json --format json --out-file /tmp/infracost.json
|
|
|
|
|
|
- name: Post Infracost comment
|
|
|
- uses: infracost/actions/comment@v1
|
|
|
+ uses: infracost/actions/comment@v2
|
|
|
with:
|
|
|
path: /tmp/infracost.json
|
|
|
behavior: update
|