diff --git a/.github/workflows/aksapply.yaml b/.github/workflows/aksapply.yaml index eeea3473..1a2c1cfe 100644 --- a/.github/workflows/aksapply.yaml +++ b/.github/workflows/aksapply.yaml @@ -76,9 +76,7 @@ jobs: ARM_USE_AZUREAD: true run: | terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/pre-clusters" init - terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/post-clusters" init terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/pre-clusters" apply -auto-approve - terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/post-clusters" apply -auto-approve - name: Revoke GitHub IP on StorageAccount if: ${{ github.ref == 'refs/heads/master' && inputs.terraformapply == 'true' }} run: | diff --git a/.github/workflows/aksplan.yaml b/.github/workflows/aksplan.yaml index 41c725a1..13d17ac5 100644 --- a/.github/workflows/aksplan.yaml +++ b/.github/workflows/aksplan.yaml @@ -88,9 +88,7 @@ jobs: ARM_USE_AZUREAD: true run: | terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/pre-clusters" init - terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/post-clusters" init terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/pre-clusters" plan - terraform -chdir="./terraform/subscriptions/${{ matrix.target.subscription }}/${{ matrix.target.name }}/post-clusters" plan - name: Revoke GitHub IP on StorageAccount if: steps.changes.outputs.changed == 'true' run: |