mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
* Add support for .terraform-docs.yml config file * add config reader * add usage documentation and reference guide * typo * update docs
863 B
863 B
Config File Reference
All available options for .terraform-docs.yml. Note that not all of them can be used at the same time (e.g. sections.hide and sections.show)
formatter: <FORMATTER_NAME>
header-from: main.tf
sections:
hide-all: false
hide:
- header
- inputs
- outputs
- providers
- requirements
show-all: true
show:
- header
- inputs
- outputs
- providers
- requirements
output-values:
enabled: false
from: ""
sort:
enabled: true
by:
- required
- type
settings:
color: true
escape: true
indent: 2
required: true
sensitive: true
Available options for FORMATTER_NAME are:
asciidocasciidoc documentasciidoc tablejsonmarkdonwmarkdonw documentmarkdonw tableprettytfvars hcltfvars jsontomlxmlyaml