remove login #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Azure with OpenID and launch TF workflow | |
on: [push] | |
permissions: | |
id-token: write | |
contents: read | |
env: | |
ARM_CLIENT_ID: "${{ secrets.AZURE_CLIENT_ID }}" | |
ARM_SUBSCRIPTION_ID: "${{ secrets.AZURE_SUBSCRIPTION_ID }}" | |
ARM_TENANT_ID: "${{ secrets.AZURE_TENANT_ID }}" | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hashicorp/setup-terraform@v3 | |
- uses: actions/checkout@v4 | |
- run: ls -lh1 | |
- run: terraform init | |
- id: plan | |
run: terraform plan | |
- run: echo ${{ steps.plan.outputs.stdout }} | |
- run: echo ${{ steps.plan.outputs.stderr }} | |
- run: echo ${{ steps.plan.outputs.exitcode }} |