Examples (4)
With no additional arguments, `output` will display all outputs for the root module
Output only a value with specific name
tofu output nameConvert the output value to a raw string (useful for shell scripts)
tofu output -rawFormat the outputs as a JSON object, with a key per output (useful with `jq`)
tofu output -jsonmade by @shridhargupta | data from tldr-pages