antonbabenko/pre-commit-terraform
pre-commit git hooks to take care of Terraform configurations 🇺🇦 observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12
- age_days: 3627
- days_rel: 12
- days_push: 7
- n_releases_24m: 34
Adoption not part of the score
3760 stars · 584 forks observed · 2026-08-28
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-08-28 · 4a37ce4d5320
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antonbabenko/pre-commit-terraform | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="antonbabenko/pre-commit-terraform")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem