terraform: update comment

This commit is contained in:
Mitchell Hashimoto 2015-05-04 10:49:34 -07:00
parent cc0c208364
commit 2f3f680505
1 changed files with 3 additions and 3 deletions

View File

@ -165,9 +165,9 @@ func (n *graphNodeModuleExpanded) FlattenGraph() *Graph {
graph := n.Subgraph()
input := n.Original.Module.RawConfig
// Go over each vertex in the graph and wrap the configuration
// items so that the dependencies properly map to the modules.
// See the docs for graphNodeModuleWrappable for more info.
// Go over each vertex and do some modifications to the graph for
// flattening. We have to skip some nodes (graphNodeModuleSkippable)
// as well as setup the variable values.
for _, v := range graph.Vertices() {
if sn, ok := v.(graphNodeModuleSkippable); ok && sn.FlattenSkip() {
graph.Remove(v)