fix(ci): correct dry_run context in Terraform matrix workflows
This commit is contained in:
parent
e6fccac7e8
commit
950a68f6eb
@ -20,7 +20,7 @@ env:
|
||||
|
||||
jobs:
|
||||
terraform:
|
||||
name: "${{ matrix.env }} :: pipeline (dry_run=${{ env.DRY_RUN }})"
|
||||
name: "${{ matrix.env }} :: pipeline (dry_run=${{ inputs.dry_run }})"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
@ -70,3 +70,4 @@ jobs:
|
||||
working-directory: ${{ env.BASE_DIR }}/${{ matrix.env }}
|
||||
if: ${{ env.DRY_RUN == 'false' }}
|
||||
run: terraform output -json
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ env:
|
||||
|
||||
jobs:
|
||||
terraform:
|
||||
name: "${{ matrix.env }} :: pipeline (dry_run=${{ env.DRY_RUN }})"
|
||||
name: "${{ matrix.env }} :: pipeline (dry_run=${{ inputs.dry_run }})"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user