terraform-docs is a utility to generate documentation from Terraform modules in various output formats. The terraform-docs configuration file uses the yaml format in order to override any default behaviors. This is a convenient way to share the configuration amongst teammates, CI, or other toolings. Once you set it up and configured it, every time you or your teammates want to regenerate documentation (manually, through a pre-commit hook, or as part of a CI pipeline) all you need to do is run terraform-docs /module/path. One of the most popular format is markdown table, which is a very good fit for generating README of module. terraform-docs is available on Linux, macOS, Windows, and FreeBSD platforms. terraform-docs will locate any available configuration file without needing to explicitly pass the --config flag.

Features

  • As of v0.13.0, --config flag accepts both relative and absolute paths
  • terraform-docs is available on Linux, macOS, Windows, and FreeBSD platforms
  • terraform-docs can be run as a container by mounting a directory
  • Stable binaries are available on the GitHub Release page
  • The latest version can be installed using go install
  • You can use a config file with any arbitrary name

Project Samples

Project Activity

See All Activity >

Categories

Documentation

License

MIT License

Follow terraform-docs

terraform-docs Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of terraform-docs!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Documentation Software

Registered

2022-09-07