output-values

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"

Edit on GitHub