Terraform plan for github-actions terraform #5
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: | |
- 'terraform/services/github-actions/**' # Specify the path to trigger the workflow | |
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: | |
working-directory: ./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" |