Skip to content

allow newer TF versions #1667

allow newer TF versions

allow newer TF versions #1667

name: 'validate Terraform Modules'
on:
push:
branches:
- '**'
jobs:
validate_tf_modules:
name: 'validate tf modules'
runs-on: ubuntu-latest
strategy:
matrix:
terraform_version: [ '~1.4.0', '~1.5.0', '~1.6.0', '~1.7.0', '~1.8.0', '~1.9.0', 'latest' ]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: 'setup Terraform'
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ matrix.terraform_version }}
- name: "Terraform - validate modules/psoxy-constants"
working-directory: infra/modules/psoxy-constants
run: |
terraform init -reconfigure
terraform validate