Skip to content

Unify structure of module variables #74

Unify structure of module variables

Unify structure of module variables #74

Workflow file for this run

name: Validate
on: pull_request
jobs:
validate_terraform_versions:
runs-on: ubuntu-22.04
strategy:
matrix:
terraform_version:
- "0.15.5"
- "1.0.11"
- "1.1.9"
- "1.2.2"
defaults:
run:
working-directory: _test
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ matrix.terraform_version }}
- run: terraform init
- run: terraform validate
validate: # this is a workaround, see https://git.luolix.topmunity/t/status-check-for-a-matrix-jobs/127354/6
if: ${{ always() }}
needs: [validate_terraform_versions]
runs-on: ubuntu-22.04
steps:
- name: Check build status of all needed jobs
if: ${{ needs.validate_terraform_versions.result != 'success' }}
run: exit 1