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