terraform-docs/terraform-docs
Generate documentation from Terraform modules in various output formats observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 95
- Release rhythm 59
- 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: 116
- age_days: 3734
- days_rel: 115
- days_push: 30
- n_releases_24m: 6
Adoption not part of the score
4814 stars · 601 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
terraform-docs is a CLI utility that generates documentation from Terraform modules in various output formats such as Markdown, AsciiDoc, JSON, and pretty text. It extracts inputs, outputs, providers, and resources from Terraform code and can inject generated docs into README files, including via a GitHub Action for CI automation.
Use cases
- generate README documentation for a Terraform module
- document terraform module inputs and outputs automatically
- inject terraform docs into markdown file in CI
- output terraform module docs as or asciidoc
- keep terraform module documentation up to date in pull requests
- recursively generate docs for terraform submodules
When to choose
- you maintain Terraform modules and want auto-generated, consistent documentation
- you want CI-friendly doc generation with output checking and injection into READMEs
- you need multiple output formats (Markdown, AsciiDoc, JSON) or plugin-based custom formatters
When to avoid
- you need documentation for non-Terraform infrastructure code
- you want hand-authored, free-form architecture docs rather than extracted module metadata
Facets
cli-tool · maturity stable
documentation cli developer-tools infrastructure-as-code developer-tools documentation windows bsd cli go terraform terraform-modules doc-generator markdown ci-friendly infrastructure-as-code devops linux macos docker
4 sources
- readme: https://github.com/terraform-docs/terraform-docs · fetched 2026-08-28 · 68d4fb207489
- homepage: https://terraform-docs.io · fetched 2026-08-29 · 4c7d6d8cae50
- site_page: https://terraform-docs.io/user-guide/installation · fetched 2026-08-29 · 229c0948af17
- site_page: https://terraform-docs.io/reference/terraform-docs · fetched 2026-08-29 · 8a43f0072598
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| terraform-docs/terraform-docs | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="terraform-docs/terraform-docs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem