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