Skip to content

PLT-193 Fix for github-actions terraform plan workflow #13

PLT-193 Fix for github-actions terraform plan workflow

PLT-193 Fix for github-actions terraform plan workflow #13

name: Terraform plan for github-actions terraform
on:
pull_request:
paths:
- .github/workflows/github-actions-terraform-plan.yml
- .github/workflows/terraform-fmt.yml
- actions/setup-tfenv-terraform/**
- terraform/services/github-actions/**
workflow_dispatch: # Allow manual trigger
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
check-terraform-fmt:
uses: ./.github/workflows/terraform-fmt.yml
with:
targets: ./terraform/services/github-actions
terraform-plan:
needs: check-terraform-fmt
runs-on: ubuntu-latest
steps:
- run: echo "TODO Create a reusable terraform-plan workflow to call"