🗂️ Navigation

terraform-docs

A utility to generate documentation from Terraform modules in various output formats.

Visit Website →

Overview

terraform-docs is a utility that generates documentation for Terraform modules. It inspects the module's variables, outputs, and other metadata and generates documentation in various formats like Markdown, JSON, and YAML. This helps to keep the documentation for your modules up-to-date and consistent.

✨ Key Features

  • Generates documentation for Terraform modules
  • Supports multiple output formats (Markdown, JSON, YAML, etc.)
  • Customizable templates
  • Can be run in a CI/CD pipeline

🎯 Key Differentiators

  • Focus on a single task: generating documentation for Terraform modules.
  • Highly customizable output formats and templates.
  • Easy to integrate into automated workflows.

Unique Value: Automates the creation of documentation for Terraform modules, saving time and ensuring consistency.

🎯 Use Cases (3)

Automatically generating README files for Terraform modules. Keeping module documentation consistent and up-to-date. Integrating documentation generation into a CI/CD pipeline.

✅ Best For

  • Using pre-commit hooks to automatically update module documentation on every commit.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Generating documentation for entire infrastructure projects (it's focused on modules).

💻 Platforms

Desktop

✅ Offline Mode Available

🔌 Integrations

Terraform GitHub Actions pre-commit

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Open source and free to use.

Visit terraform-docs Website →