Files
terraform-docs/docs/user-guide/configuration/output-values.md
Khosrow Moossavi 1ae5fd95ca Restructure configurations docs
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-09-13 18:07:21 -04:00

714 B

title, description, menu, weight, toc
title description menu weight toc
output-values output-values configuration
docs
parent
configuration
126 true

Since v0.10.0

Optional value field can be added to Outputs section which contains the current value of an output variable as it is found in state via terraform output.

Options

Available options with their default values.

output-values:
  enabled: false
  from: ""

Examples

First generate output values file in JSON format:

$ pwd
/path/to/module

$ terraform output --json > output_values.json

and then use the following to render them in the generated output:

output-values:
  enabled: true
  from: "output_values.json"