Emit a plan or state file as machine-readable JSON.
Section: Inspect State and Outputs
Show state or plan as JSON
bash
bash
terraform show -json tfplanExplanation
Emit a plan or state file as machine-readable JSON.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Inspect State and Outputs
Show human-readable state or plan
Show human-readable representation of current state.
Show one resource from state
Display detailed attributes for one resource instance.