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: `terraform output [options] [input]`
Usage: `terraform graph [options] PATH`
By default, `output` scans the current directory for the configuration
and generates the output for that configuration. However, a path to
another configuration or an execution plan can be provided. Execution plans
provide more details on creation, deletion or changes.
Outputs the visual graph of Terraform resources. If the path given is
the path to a configuration, the dependency graph of the resources are
shown. If the path is a plan file, then the dependency graph of the
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