pre-commit-terraform
pre-commit-terraform copied to clipboard
pre-commit git hooks to take care of Terraform configurations πΊπ¦
Hello, I am trying to implement pre-commit-terraform tflint fmt and checkov but I am facing issues when trying to execute it when running everything on docker image. To be a...
will help: https://github.com/dylanaraps/pure-sh-bible and https://github.com/antonbabenko/pre-commit-terraform/pull/339#issuecomment-1055700715 Related issues that will not exist if make hooks POSIX compatible: https://github.com/antonbabenko/pre-commit-terraform/issues?q=is%3Aissue+sort%3Aupdated-desc+label%3Aarea%2FmacOS+
It's like guide for newcomers, that should cover "first week/month usage issues and questions" * links to common useful practices * tips about pre-commit * tips about git and git...
### What problem are you facing? I am trying to integrate tfupdate into my pre-commit configuration. It works perfectly for exact versions i.e: ```yaml - --args=--version 0.7.1 ``` tfupdate also...
In #380 I discovered that `terraform-docs` now have a big config, that, theoretically, can be used as a replacement for all or part of custom `--hook-config=`'s Need to investigate that...
### What problem are you facing? At the start of April 2022 `git` released a new non-major version that includes a new check, that fails `pre-commit-terraform` runtime (#370) I'd like...
### What problem are you facing? It's mostly the same hooks, that need to be maintained separately. ### How could pre-commit-terraform help solve your problem? Decrease maintainability flow, like this...
### What problem are you facing? New PR's time to time break existing functional, and that can't be found by PR review. Here one of the examples why we should...
### What problem are you facing? While working on some of the issues, I noticed we don't follow Google Style Guide. Shellcheck compliance was there but not in all places....
There is a utility called [`terrafmt`](https://github.com/katbyte/terrafmt) that can be used to check and fix the formating of Terraform snippets embedded into usage sections in README. ### How could pre-commit-terraform help...