Skip to content

re-corrected env syntax #3

re-corrected env syntax

re-corrected env syntax #3

Workflow file for this run

name: IaC Main
on:
push:
env:
tf_version: '1.6.2'
tg_version: '0.55.15'
aws_region: us-east-1
jobs:
verify:
if: github.ref != 'refs/heads/main'
strategy:
matrix:
environment: [stage, production]
module: [terraform/tfbackend, network/vpc, services/backend-infra, data-store/cache, data-store/database, services/frontend]
uses: ./.github/workflows/iac_verify.yaml
with:
tf_version: $tf_version
tg_version: $tg_version
aws_region: $aws_region
environment: ${{ matrix.environment }}
module: ${{ matrix.module }}
secrets: inherit
apply:
if: github.ref == 'refs/heads/main'
strategy:
matrix:
environment: [stage]
module: [terraform/tfbackend, network/vpc, services/backend-infra, data-store/cache, data-store/database, services/frontend]
uses: ./.github/workflows/iac_apply.yaml
with:
tf_version: $tf_version
tg_version: $tg_version
aws_region: $aws_region
environment: ${{ matrix.environment }}
module: ${{ matrix.module }}
secrets: inherit