tofu-output
Export structured data about your OpenTofu resources. tldr-pages
On several platforms
Several platforms
Display all outputs for the root module
tofu outputIdentifyOutput only a value with specific name
tofu output nameIdentifyConvert the output value to a raw string (useful for shell scripts)
tofu output -rawIdentifyFormat the outputs as a JSON object, with a key per output (useful with jq)
tofu output -jsonIdentify