From 084e6e245882d65d9137b654a42d674693c0643b Mon Sep 17 00:00:00 2001 From: "martin.yang" Date: Sat, 23 Nov 2024 16:20:45 +1100 Subject: [PATCH] Add Terraform Show step to workflow for enhanced output visibility --- .github/workflows/terraform.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index aa97385..53d1cec 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -46,6 +46,15 @@ jobs: run: terraform plan -no-color continue-on-error: false + - name: Terraform Show + id: show + env: + ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }} + ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }} + ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }} + ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} + run: terraform show -no-color + - name: add-plan-comment id: comment uses: actions/github-script@v3