FahamLah

Commands

tofu show

tofu show [-json] [planfile]

Risk: Safe

What it does

Prints the register, or a saved plan, in a readable way. With -json, for robots like policy and cost checks.

When to use it

To read a saved plan before applying it, or to feed it to a check in CI.

Example

$ tofu show -json tfplan > plan.json

Save the plan as JSON for Conftest.

$ tofu show tfplan

Read a saved plan, exactly as it will be applied.

$ tofu show

Read the whole register in a readable way.