Skip to content

pecigonzalo/pre-commit-terraform-vars

Repository files navigation

pre-commit-shfmt hook

⚠️ I would no longer recommend using this method. Use tflint instead which provides this in a much more reliable and featureful way and you can hook it directly with a local pre-commit command or through a pre-commit provider.

Single pre-commit hook which runs terraform_unused_vars on the terraform project.

An example .pre-commit-config.yaml:

-   repo: git://github.com/pecigonzalo/pre-commit-terraform-vars
    sha: master
    hooks:
      -   id: terraform-vars

Enjoy the clean code!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages