Skip to content

maartenvanderhoef/pre-commit-terraform-vars

 
 

Repository files navigation

pre-commit-shfmt hook

Copy of git://github.com/pecigonzalo/pre-commit-terraform-vars with added logic for unused locals

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

To skip a local from failing use:

  #terraform_unused_vars:skip=local.the_local_to_be_skipped

An example .pre-commit-config.yaml:

-   repo: git://github.com/maartenvanderhoef/pre-commit-terraform-vars
    rev: v2.0.0
    hooks:
      -   id: terraform-vars

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%