Generate terraform.tfvars
Since v0.9.0
You can generate terraform.tfvars
in both hcl
and json
format by executing
the following, respectively:
terraform-docs tfvars hcl /path/to/module
terraform-docs tfvars json /path/to/module
Required input variables will be
""
(empty) in HCL and null
in JSON format.