opentofu/website/docs/cli
Martin Atkins e389a7f2fa website: Warn about "tofu output -raw" in a terminal
By design the "-raw" option to "tofu output" writes the literal output
value directly to stdout without any quoting or escaping, and so it's
risky to use it with an output value that could be controlled by an
attacker when stdout is a terminal.

This risk is inherent in the purpose of this option and is part of the
reason why this is not the default behavior (OpenTofu returns a quoted
representation of an output string by default) so here we just make that
risk explicit in the documentation, in the hope that operators will use
this operation mindfully.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-10 09:49:35 -08:00
..
auth Adds TACOS page to docs and links to it from all mentionds of TACOS (#1836) 2024-07-23 09:55:58 +01:00
cloud Cloud Backend - Fix logic that forces TF_WORKSPACE to be equal to a tag name (#1930) 2024-08-22 10:55:50 +03:00
code Versioned docs: replacing docs links with relative variants (#1537) 2024-04-24 13:24:30 +02:00
commands website: Warn about "tofu output -raw" in a terminal 2025-11-10 09:49:35 -08:00
config Add download_retry_count for direct and network_mirror in CLI configuration (#3368) 2025-10-18 11:42:25 +03:00
import Versioned docs: replacing docs links with relative variants (#1537) 2024-04-24 13:24:30 +02:00
init Versioned docs: replacing docs links with relative variants (#1537) 2024-04-24 13:24:30 +02:00
inspect Versioned docs: replacing docs links with relative variants (#1537) 2024-04-24 13:24:30 +02:00
oci_registries website: ORAS v1.3 variant of provider OCI mirror construction 2025-09-09 13:22:48 -07:00
plugins Fix typos (#1905) 2024-08-29 13:20:33 -04:00
private_registry issue 1206: add documentation for private registry (#1319) 2024-03-07 06:45:34 +01:00
run Versioned docs: replacing docs links with relative variants (#1537) 2024-04-24 13:24:30 +02:00
state Documentation for the new -target-file and -exclude-file planning options (#2691) 2025-04-23 07:56:51 -04:00
workspaces Versioned docs: replacing docs links with relative variants (#1537) 2024-04-24 13:24:30 +02:00
index.mdx Adds TACOS page to docs and links to it from all mentionds of TACOS (#1836) 2024-07-23 09:55:58 +01:00