Linting is handled via pre-commit
. Follow the install
instructions, and additionally install
Terraform and tflint then install and
run the hooks:
$ pre-commit install
# do a test run on all the files in the repo
$ pre-commit run --all-files
The validations will run, from now on, before each git commit.