PLT-193 Fix for github-actions terraform plan workflow #13
Workflow file for this run
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: 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" |