Skip to content

Instantly share code, notes, and snippets.

@MarcusFelling
Created February 6, 2021 18:11
Show Gist options
  • Select an option

  • Save MarcusFelling/55950d58da2b4a83f061cdaa52f37061 to your computer and use it in GitHub Desktop.

Select an option

Save MarcusFelling/55950d58da2b4a83f061cdaa52f37061 to your computer and use it in GitHub Desktop.
jobs:
terraform:
name: "Run Terraform Plan"
runs-on: ubuntu-latest
# Add env variables for service principal
env:
ARM_CLIENT_ID: ${{ secrets.TF_VAR_ARM_CLIENT_ID }}
ARM_CLIENT_SECRET: ${{ secrets.TF_VAR_ARM_CLIENT_SECRET }}
ARM_SUBSCRIPTION_ID: ${{ secrets.TF_VAR_ARM_SUBSCRIPTION_ID }}
ARM_TENANT_ID: ${{ secrets.TF_VAR_ARM_TENANT_ID }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment