@@ -29,14 +29,14 @@ terraform-docs pretty [PATH] [flags]
2929 -c, --config string config file name (default ".terraform-docs.yml")
3030 --footer-from string relative path of a file to read footer from (default "")
3131 --header-from string relative path of a file to read header from (default "main.tf")
32- --hide strings hide section [footer, header, inputs, modules, outputs, providers, requirements, resources]
32+ --hide strings hide section [data-sources, footer, header, inputs, modules, outputs, providers, requirements, resources]
3333 --hide-all hide all sections (default false)
3434 --output-file string File in module directory to insert output into (default "")
3535 --output-mode string Output to file method [inject, replace] (default "inject")
3636 --output-template string Output template (default "<!-- BEGIN_TF_DOCS -->\n{{ .Content }}\n<!-- END_TF_DOCS -->")
3737 --output-values inject output values into outputs (default false)
3838 --output-values-from string inject output values from file into outputs (default "")
39- --show strings show section [footer, header, inputs, modules, outputs, providers, requirements, resources]
39+ --show strings show section [data-sources, footer, header, inputs, modules, outputs, providers, requirements, resources]
4040 --show-all show all sections (default true)
4141 --sort sort items (default true)
4242 --sort-by string sort items by criteria [name, required, type] (default "name")
@@ -109,8 +109,8 @@ generates the following output:
109109
110110 resource.null_resource.foo (resource) (https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource)
111111 resource.tls_private_key.baz (resource) (https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key)
112- resource .aws_caller_identity.current (data source) (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)
113- resource .aws_caller_identity.ident (data source) (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)
112+ data .aws_caller_identity.current (data source) (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)
113+ data .aws_caller_identity.ident (data source) (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)
114114
115115
116116 input.bool-1 (true)
0 commit comments