website: update graph command
This commit is contained in:
parent
26ac58bc97
commit
5b444842a0
|
@ -25,16 +25,20 @@ The graph is outputted in DOT format. The typical program that can
|
|||
read this format is GraphViz, but many web services are also available
|
||||
to read this format.
|
||||
|
||||
The -type flag can be used to control the type of graph shown. Terraform
|
||||
creates different graphs for different operations. See the options below
|
||||
for the list of types supported. The default type is "plan" if a
|
||||
configuration is given, and "apply" if a plan file is passed as an
|
||||
argument.
|
||||
|
||||
Options:
|
||||
|
||||
* `-draw-cycles` - Highlight any cycles in the graph with colored edges.
|
||||
This helps when diagnosing cycle errors.
|
||||
|
||||
* `-module-depth=n` - The maximum depth to expand modules. By default this is
|
||||
-1, which will expand all modules.
|
||||
* `-no-color` - If specified, output won't contain any color.
|
||||
|
||||
* `-verbose` - Generate a verbose, "worst-case" graph, with all nodes
|
||||
for potential operations in place.
|
||||
* `-type=plan` - Type of graph to output. Can be: plan, plan-destroy, apply, legacy.
|
||||
|
||||
## Generating Images
|
||||
|
||||
|
|
Loading…
Reference in New Issue