terraform: clarify docs

This commit is contained in:
Mitchell Hashimoto 2014-06-30 21:24:26 -07:00
parent 93bf75f464
commit 8aa8d2183e
1 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
package terraform package terraform
import ( import (
"errors"
"fmt" "fmt"
"sort" "sort"
"strings" "strings"
@ -19,10 +20,10 @@ type GraphOpts struct {
// This is the only required item. // This is the only required item.
Config *config.Config Config *config.Config
// Diff of changes that will be applied to the given state. If specified, // Diff of changes that will be applied to the given state. This will
// State becomes required. This will associate a ResourceDiff with // associate a ResourceDiff with applicable resources. Additionally,
// applicable resources. Additionally, new resource nodes representing // new resource nodes representing resource destruction may be inserted
// resource destruction may be inserted into the graph. // into the graph.
Diff *Diff Diff *Diff
// State, if present, will make the ResourceState available on each // State, if present, will make the ResourceState available on each