...
This commit is contained in:
@@ -83,7 +83,7 @@ jobs:
|
|||||||
uses: opentofu/setup-opentofu@v1.0.6
|
uses: opentofu/setup-opentofu@v1.0.6
|
||||||
with:
|
with:
|
||||||
version: ${{ env.OPENTOFU_VERSION }}
|
version: ${{ env.OPENTOFU_VERSION }}
|
||||||
tofu_wrapper: true
|
tofu_wrapper: false
|
||||||
|
|
||||||
- name: Generate .env from Hashicorp Vault
|
- name: Generate .env from Hashicorp Vault
|
||||||
uses: https://git.trez.wtf/Trez/hc-vault-env@main
|
uses: https://git.trez.wtf/Trez/hc-vault-env@main
|
||||||
@@ -133,13 +133,16 @@ jobs:
|
|||||||
- name: Convert Plan to JSON
|
- name: Convert Plan to JSON
|
||||||
run: |
|
run: |
|
||||||
cd cloudflare
|
cd cloudflare
|
||||||
|
tofu show cloudflare.tfplan > cloudflare_tf.txt
|
||||||
tofu show -json cloudflare.tfplan > cloudflare_tf.json
|
tofu show -json cloudflare.tfplan > cloudflare_tf.json
|
||||||
|
|
||||||
- name: Tofu Plan Comment
|
- name: Tofu Report
|
||||||
uses: liatrio/terraform-change-pr-commenter@v1.14.0
|
uses: ahmadnassri/action-terraform-report@v4.1.14
|
||||||
with:
|
with:
|
||||||
json-file: cloudflare/cloudflare_tf.json
|
# tell the action the plan outputs
|
||||||
github-token: ${{ secrets.BOT_GITEA_TOKEN }}
|
terraform-text: ${{ github.workspace }}/terraform.text
|
||||||
|
terraform-json: ${{ github.workspace }}/terraform.json
|
||||||
|
remove-stale-reports: true
|
||||||
|
|
||||||
# - name: Build Markdown PR comment from plan file
|
# - name: Build Markdown PR comment from plan file
|
||||||
# run: |
|
# run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user