mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 04:48:33 +07:00
Prepend any type of resource, including `resource`, `data`, `module`, `variable`, and `output` with a comment including "terraform-docs-ignore" to exclude it from the generated output. Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
25 lines
397 B
HCL
25 lines
397 B
HCL
output unquoted {
|
|
description = "It's unquoted output."
|
|
value = ""
|
|
}
|
|
|
|
output "output-2" {
|
|
description = "It's output number two."
|
|
value = "2"
|
|
}
|
|
|
|
// It's output number one.
|
|
output "output-1" {
|
|
value = "1"
|
|
}
|
|
|
|
output "output-0.12" {
|
|
value = join(",", var.list-3)
|
|
description = "terraform 0.12 only"
|
|
}
|
|
|
|
// terraform-docs-ignore
|
|
output "ignored" {
|
|
value = "ignored"
|
|
}
|