Skip to content

Commit

Permalink
Add separate summary
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate committed Nov 22, 2024
1 parent b606934 commit ba1f607
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/end-to-end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,16 @@
terraform -chdir="${{ matrix.rootModuleFolderPath }}" init
terraform -chdir="${{ matrix.rootModuleFolderPath }}" plan -var-file="${{ matrix.configFilePath }}" -out=tfplan
terraform -chdir="${{ matrix.rootModuleFolderPath }}" show -json tfplan > tfplan.json
shell: pwsh
env:
ARM_TENANT_ID: ${{ vars.ARM_TENANT_ID }}
ARM_SUBSCRIPTION_ID: ${{ vars.ARM_SUBSCRIPTION_ID }}
ARM_CLIENT_ID: ${{ vars.ARM_CLIENT_ID }}
ARM_USE_OIDC: true

- name: Plan Summary
run: |
$planJson = Get-Content -Raw tfplan.json
$planObject = ConvertFrom-Json $planJson -Depth 100
Expand All @@ -97,9 +106,3 @@
Write-Host (ConvertTo-Json $items -Depth 10)
shell: pwsh
env:
ARM_TENANT_ID: ${{ vars.ARM_TENANT_ID }}
ARM_SUBSCRIPTION_ID: ${{ vars.ARM_SUBSCRIPTION_ID }}
ARM_CLIENT_ID: ${{ vars.ARM_CLIENT_ID }}
ARM_USE_OIDC: true

0 comments on commit ba1f607

Please sign in to comment.