LinuxCommandLibrary

tofu-output

Display OpenTofu state output values

TLDR

Show all outputs

$ tofu output
copy
Show specific output
$ tofu output [name]
copy
Output as JSON
$ tofu output -json
copy
Get raw value
$ tofu output -raw [name]
copy

SYNOPSIS

tofu output [options] [name]

DESCRIPTION

tofu output displays output values from OpenTofu state. OpenTofu is the open-source fork of Terraform. Shows values defined in output blocks.

PARAMETERS

-json

Output as JSON.
-raw
Output raw string value.
-state path
Read from state file.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community