Skip to content

Breaking change: Rename var.tags to var.default_tags #39

Breaking change: Rename var.tags to var.default_tags

Breaking change: Rename var.tags to var.default_tags #39

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://github.community/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