Skip to content

Adding plan only workflow #2

Adding plan only workflow

Adding plan only workflow #2

Workflow file for this run

name: Terraform Plan Generic Modules
on:
push:
branches:
- monorepo
pull_request:
branches:
- main
jobs:
modules:
runs-on: ubuntu-latest
steps:
- uses: theappnest/terraform-monorepo-action@master
id: modules
with:
monitored: 'main.tf'
outputs:
modules: ${{ steps.modules.outputs.modules }}
terraform:
needs: modules
strategy:
matrix:
module: ${{ fromJson(needs.modules.outputs.modules) }}
uses: appvia/appvia-cicd-workflows/.github/workflows/terraform-plan.yml@main

Check failure on line 26 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

error parsing called workflow ".github/workflows/test.yml" -> "appvia/appvia-cicd-workflows/.github/workflows/terraform-plan.yml@main" : failed to fetch workflow: workflow was not found.
name: Terraform
secrets:
infracost-api-key: ${{ secrets.ORG_INFRACOST_API_KEY }}
with:
aws-account-id: 536471746696
enable-infracost: true
terraform-version: 1.5.7
terraform-values-file: '${{ fromJson(needs.modules.outputs.modules) }}/values/production.tfvars'
working-directory: ${{ matrix.module }}