FahamLah

Commands

tofu output

tofu output [-raw | -json] [NAME]

Risk: Safe

What it does

Prints the outputs the blueprint shared, read from the state file.

When to use it

After apply, when you or a script needs a built value.

Example

$ tofu output

Every output, name = value.

$ tofu output -raw stall_name

Just one value, no quotes. Good for scripts.

$ tofu output -json

Every output as JSON, for other programs.