Files
terraform-docs/docs/FORMATS_GUIDE.md
Julien Duchesne 52653b5107 fix: Render special chars in variables' default value properly (#284)
* Fix: No longer crashes when there are special chars in a variable default

* Do not escape chars everywhere

* Cleanup go.mod
2020-07-17 13:13:50 -04:00

2.7 KiB

terraform-docs

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

Synopsis

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

terraform-docs [PATH] [flags]

Options

  -c, --config string               config file name (default ".terraform-docs.yml")
      --header-from string          relative path of a file to read header from (default "main.tf")
  -h, --help                        help for terraform-docs
      --hide strings                hide section [header, inputs, outputs, providers, requirements]
      --hide-all                    hide all sections (default false)
      --output-values               inject output values into outputs (default false)
      --output-values-from string   inject output values from file into outputs (default "")
      --show strings                show section [header, inputs, outputs, providers, requirements]
      --show-all                    show all sections (default true)
      --sort                        sort items (default true)
      --sort-by-required            sort items by name and print required ones first (default false)
      --sort-by-type                sort items by type of them (default false)

SEE ALSO

Auto generated by spf13/cobra on 15-Jul-2020