Description
terraform-docs generates documentation from Terraform modules in several output formats. It reads a module and produces readable documents, including Markdown, AsciiDoc and JSON, and it can be configured to choose sections, sort order, footers and headers. Its user guide covers installation, configuration and options such as sections, output and recursive submodules, and its how-to pages explain common tasks like showing or hiding sections, ignoring resources, writing output to a file, including examples, and generating a terraform.tfvars file. The project is designed to be CI-friendly, with a GitHub Action and pre-commit hooks so documentation stays in step with code. The developer guide covers plugins and contributing. The tool is open source, and its source is on GitHub under the terraform-docs organization. The listing shows it as free.…
Highlights
- Markdown, AsciiDoc and JSON output
- Recursive submodule documentation
- GitHub Action and pre-commit hooks
- Configurable sections and sort order
- Generates terraform.tfvars
Ratings & Reviews
No ratings yet
Be the first to rate terraform-docs.
People also visit
terraform-docs FAQ
What does terraform-docs do?
It generates documentation from Terraform modules in formats such as Markdown, AsciiDoc and JSON.
Can it run in CI?
Yes. The site lists a GitHub Action and pre-commit hooks to keep docs up to date.
Does it handle submodules?
Yes. The user guide covers recursive submodules.
Is it free?
The listing shows it as free, and the source is on GitHub.
What are the best terraform-docs alternatives?
Popular alternatives to terraform-docs include Terraform Docs As PDF, GraphQL-Markdown and Graphql Docs. See all terraform-docs alternatives











