Files
opentf/website/source/docs/commands/show.html.markdown
Paul Hinze e67fc0fe9b command: Change module-depth default to -1
This means that terraform commands like `plan`, `apply`, `show`, and
`graph` will expand all modules by default.

While modules-as-black-boxes is still very true in the conceptual design
of modules, feedback on this behavior has consistently suggested that
users would prefer to see more verbose output by default.

The `-module-depth` flag and env var are retained to allow output to be
optionally limited / summarized by these commands.
2016-01-20 13:58:02 -06:00

1.0 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
docs Command: show docs-commands-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.

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.

Usage

Usage: terraform show [options] [path]

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.

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 -1, which will expand all.

  • -no-color - Disables output with coloring