terraform/website/source/docs/commands/show.html.markdown

30 lines
1.0 KiB
Markdown
Raw Normal View History

2014-07-24 18:02:10 +02:00
---
layout: "docs"
page_title: "Command: show"
sidebar_current: "docs-commands-show"
2014-10-22 05:21:56 +02:00
description: |-
The `terraform show` command is used to provide human-readable output from a state or plan file. This can be used to inspect a plan to ensure that the planned operations are expected, or to inspect the current state as Terraform sees it.
2014-07-24 18:02:10 +02:00
---
# Command: show
The `terraform show` command is used to provide human-readable output
from a state or plan file. This can be used to inspect a plan to ensure
that the planned operations are expected, or to inspect the current state
as Terraform sees it.
2014-07-24 18:02:10 +02:00
## Usage
Usage: `terraform show [options] [path]`
2014-07-24 18:02:10 +02:00
You must may `show` with a path to either a Terraform state file or plan
file. If no path is specified, the current state will be shown.
2014-07-24 18:02:10 +02:00
The command-line flags are all optional. The list of available flags are:
* `-module-depth=n` - Specifies the depth of modules to show in the output.
By default this is zero. -1 will expand all.
2014-07-24 18:02:10 +02:00
* `-no-color` - Disables output with coloring