We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8872d61 commit c3fcba7Copy full SHA for c3fcba7
.github/workflows/lint.yml
@@ -105,6 +105,9 @@ jobs:
105
node-version-file: .tool-versions
106
cache: yarn
107
- run: yarn install --immutable --immutable-cache --check-cache
108
+ - uses: terraform-linters/setup-tflint@v4
109
+ - name: Initialize TFLint
110
+ run: tflint --chdir=terraform --init
111
- uses: pre-commit/action@v3.0.1
112
with:
113
extra_args: "--all-files --hook-stage=manual"
.pre-commit-config.yaml
@@ -4,6 +4,9 @@ repos:
4
hooks:
5
- id: terraform_fmt
6
files: \.(tf|tfvars|hcl)$
7
+ - id: terraform_tflint
8
+ args:
9
+ - --args=--config=__GIT_WORKING_DIR__/terraform/.tflint.hcl
10
- repo: https://github.com/pre-commit/pre-commit-hooks
11
rev: v5.0.0
12
0 commit comments