Skip to content

#23: Upgrade base module #51

#23: Upgrade base module

#23: Upgrade base module #51

Workflow file for this run

name: Check Terraform
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: "bash"
permissions:
contents: read
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v4
with:
tflint_version: v0.53.0
- name: Log Terraform version
run: |
terraform version
tflint --version
- name: Run TFlint
run: |
tflint --init
tflint -f compact
- name: Validate Terraform
run: |
terraform init
terraform validate
- name: Check formatting
run: |
terraform fmt -check=true .