Skip to content

try to make apply manually triggerable #3

try to make apply manually triggerable

try to make apply manually triggerable #3

Workflow file for this run

name: Run Azure and launch TF workflow
on: ["push","workflow_dispatch"]
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 }}"
ARM_CLIENT_SECRET: "${{ secrets.AZURE_AD_CLIENT_SECRET }}"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: terraform init
name: Tf Init
- id: plan
name: TF Plan
run: terraform plan
- id: apply
name: TF Apply
run: terraform apply -auto-approve