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