Skip to content

Instantly share code, notes, and snippets.

@guivin
Created March 5, 2021 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guivin/7fa3e4212df2e7f1c31f04a242e8dbba to your computer and use it in GitHub Desktop.
Save guivin/7fa3e4212df2e7f1c31f04a242e8dbba to your computer and use it in GitHub Desktop.
terraform-module-example-pre-commit
---
repos:
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.12
hooks:
- id: terraform-fmt
- id: terraform-validate
- id: tflint
args:
- "--module"
- "--deep"
- "--config=.tflint.hcl"
- id: markdown-link-check
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.47.0
hooks:
- id: terraform_tfsec
- id: terraform_docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment