Merge pull request #666 from donjohnson/patch-1

Usage info for graph command was actually that of output
This commit is contained in:
Armon Dadgar 2014-12-14 17:43:30 -08:00
commit 5535767989
1 changed files with 10 additions and 5 deletions

View File

@ -16,12 +16,17 @@ The output is in the DOT format, which can be used by
## Usage ## Usage
Usage: `terraform output [options] [input]` Usage: `terraform graph [options] PATH`
By default, `output` scans the current directory for the configuration Outputs the visual graph of Terraform resources. If the path given is
and generates the output for that configuration. However, a path to the path to a configuration, the dependency graph of the resources are
another configuration or an execution plan can be provided. Execution plans shown. If the path is a plan file, then the dependency graph of the
provide more details on creation, deletion or changes. plan itself is shown.
Options:
* `-module-depth=n` - The maximum depth to expand modules. By default this is
zero, which will not expand modules at all.
## Generating Images ## Generating Images