Merge pull request #169 from cloud-neutral-toolkit/codex/fix-error-in-terraform-pipeline-yaml

Fix AWS account matrix workflow paths
This commit is contained in:
cloudneutral 2025-12-10 13:28:50 +08:00 committed by GitHub
commit 2f6e03ec21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,9 +3,9 @@ name: IAC Pipeline AWS Cloud (Account/VPC Matrix)
on:
push:
paths:
- 'iac-template/terraform-hcl-standard/aws-cloud/instance/vpc/**'
- 'iac-template/terraform-hcl-standard/aws-cloud/instance/role/**'
- '.github/workflows/terraform-standard-iac-pipeline-account-matrix.yaml'
- 'iac-template/terraform-hcl-standard/aws-cloud/component/vpc/**'
- 'iac-template/terraform-hcl-standard/aws-cloud/component/role/**'
- '.github/workflows/terraform-standard-iac-pipeline-aws-account-matrix.yaml'
workflow_dispatch:
inputs:
dry_run:
@ -15,12 +15,12 @@ on:
env:
AWS_REGION: ap-northeast-1
BASE_DIR: iac-template/terraform-hcl-standard/aws-cloud/instance/
BASE_DIR: iac-template/terraform-hcl-standard/aws-cloud/component/
DRY_RUN: ${{ github.event.inputs.dry_run || 'true' }}
jobs:
terraform:
name: "${{ matrix.env }} :: pipeline (dry_run=${{ inputs.dry_run }})"
name: "${{ matrix.component }} :: pipeline (dry_run=${{ inputs.dry_run }})"
runs-on: ubuntu-latest
strategy: