antonbabenko/pre-commit-terraform
pre-commit git hooks to take care of Terraform configurations 🇺🇦 observed · 2026-10-07
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 17.5
- age_days: 3675
- days_rel: 20
- days_push: 14
- n_releases_24m: 31
Adoption not part of the score
3784 stars · 586 forks observed · 2026-10-07
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of git hooks for Terraform, OpenTofu, and Terragrunt driven by the pre-commit framework. It automatically formats code and runs checks before commits, locally or in CI, standalone or via Docker.
Use cases
- run terraform fmt and validate automatically before each git commit
- keep terraform-docs documentation up to date in pull requests
- lint terragrunt and opentofu configs in CI pipelines
- enforce consistent terraform code style across a team
- check only changed terraform files in a PR
When to choose
- you use Terraform, OpenTofu, or Terragrunt and want automated pre-commit checks
- you want to enforce formatting and docs generation in local dev and CI
- you already use the pre-commit framework
When to avoid
- you don't use Terraform or related IaC tools
- you need a full Terraform linter rather than git hook orchestration
- your project doesn't use git
Facets
plugin · maturity active
developer-tools linter formatter ci-cd code-review developer-tools infrastructure-as-code cli cross-platform windows terraform opentofu terragrunt pre-commit git-hooks iac shell devops automation docker linux macos
1 source
- readme: https://github.com/antonbabenko/pre-commit-terraform · fetched 2026-10-07 · 4a37ce4d5320
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antonbabenko/pre-commit-terraform | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="antonbabenko/pre-commit-terraform")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem