We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6584a2 commit 998e97dCopy full SHA for 998e97d
.github/workflows/auto_verify_pr.yaml
@@ -5,6 +5,9 @@ on:
5
branches:
6
- staging
7
8
+permissions:
9
+ pull-requests: write
10
+
11
jobs:
12
terraform_verify:
13
environment: ${{ github.base_ref }}
@@ -29,4 +32,13 @@ jobs:
29
32
30
33
- name: Run Terraform Plan
31
34
run: |
- terraform plan -var-file="${{ github.base_ref }}.tfvars" -out plan.tfplan >/dev/null && terraform show plan.tfplan
35
+ terraform plan -var-file="${{ github.base_ref }}.tfvars" -out plan.tfplan >/dev/null
36
+ terraform show plan.tfplan
37
+ terraform show -no-color -json plan.tfplan > tfplan.json
38
39
+ - name: Run Terraform Change Pull Request Commenter Action
40
+ uses: liatrio/[email protected]
41
+ with:
42
+ json-file: 'tfplan.json'
43
+ expand-comment: 'true'
44
+ include-workflow-link: 'true'
0 commit comments