mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
* Add new flags: --show, --show-all, --hide-all * add deprecated flags to Config * update docs * add implementation for new flags Examples: - hide all sections except one (or more): `terraform-docs --hide-all --show <name> ...` - show all sections except one (or more): `terraform-docs --show-all --hide <name> ...`
1.3 KiB
1.3 KiB
terraform-docs tfvars
Generate terraform.tfvars of inputs
Synopsis
Generate terraform.tfvars of inputs
Options
-h, --help help for tfvars
Options inherited from parent commands
--header-from string relative path of a file to read header from (default "main.tf")
--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
- terraform-docs tfvars hcl - Generate HCL format of terraform.tfvars of inputs
- terraform-docs tfvars json - Generate JSON format of terraform.tfvars of inputs