show
Show a plan or the state as the OpenTofu machine-readable document — tofu show -json. A plan is a convergence round’s, as the engine captured it when the round sealed: the document at plan.uri, which this reads. The state is read from the engine’s records of the workspace. Values the document marks sensitive print as ‘__cty_sensitive__’ unless show_sensitive.
Tiers: read · plan · apply · full
Annotations
Section titled “Annotations”| Annotation | Value |
|---|---|
title |
Show plan or state |
readOnlyHint |
true |
destructiveHint |
false |
idempotentHint |
true |
openWorldHint |
true |
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
workspace_alias |
string | no | Workspace alias, as ‘open’ named it. Omit for the workspace opened without an alias (‘default’), however many others are open. |
what |
string | no | ‘plan’ (default): a convergence round’s plan; ‘state’: the workspace’s state. |
convergence_id |
string | no | For a plan: the convergence (default: the one holding the workspace). |
round |
integer | no | For a plan: the round (default: the round waiting at its approval point, else the latest). |
planfile |
string | no | For a plan: a planfile’s ref (planfile.ref of a planned result) — the planned round’s document, the one plan_digest names when apply applies it. convergence_id and round are then not read. |
show_sensitive |
boolean | no | Print sensitive values in the clear instead of ‘__cty_sensitive__’ (default false). Only when you need the secret: it enters the conversation. A plan read so is the document plan.digest hashes. |
Turf™ is a trademark of Turf LLC. Terraform® is a trademark of HashiCorp. Ansible® is a trademark of Red Hat, LLC, registered in the United States and other countries. Helm®, Kubernetes®, Prometheus® and OpenTelemetry® are registered trademarks, and Jaeger™ is a trademark, of the Linux Foundation. OpenTofu® and Model Context Protocol® are registered trademarks of LF Projects, LLC. All other trademarks are the property of their respective owners. Turf is not affiliated with, endorsed by, or sponsored by HashiCorp, IBM, Red Hat, the Linux Foundation, LF Projects or the OpenTofu project.
© 2026 Turf LLC. Free for individuals, education and small businesses within the Community limits, under the Turf Community Edition License 1.0. Government and larger organizations need a commerciallicense.turf.build · Discord ·GitHub