Skip to content

Pin Terraform version #344

Pin Terraform version

Pin Terraform version #344

Workflow file for this run

name: TFLint
on: [push]
jobs:
terraform_fmt:
runs-on: ubuntu-latest
steps:
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.5.7"
- run: terraform fmt -check -recursive
lint_aws:
runs-on: ubuntu-latest
defaults:
run:
working-directory: aws
steps:
- uses: actions/checkout@v4
- uses: terraform-linters/setup-tflint@v4
- run: tflint --init
- run: tflint --format compact
lint_azure:
runs-on: ubuntu-latest
defaults:
run:
working-directory: azure
steps:
- uses: actions/checkout@v4
- uses: terraform-linters/setup-tflint@v4
- run: tflint --init
- run: tflint --format compact