Files
terraform-docs/examples/outputs.tf
Khosrow Moossavi 8f74fd4453 feat: ignore outputs, providers, resources with comments
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>
2024-05-30 12:33:14 -04:00

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"
}