terraform show
Read and output a Terraform state or plan file in human-readable form. More information: https://developer.hashicorp.com/terraform/cli/commands/show.
- Show the current state:
terraform show
- Show a specific state file:
terraform show
- Show a specific plan file:
terraform show
- Output in JSON format:
terraform show -json
- Output a plan file in JSON format:
terraform show -json
- Write to a file without color codes:
terraform show -no-color >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
