github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/terraform/graph_interface_subgraph.go (about) 1 package terraform 2 3 import ( 4 "github.com/hashicorp/terraform/internal/addrs" 5 ) 6 7 // GraphNodeModuleInstance says that a node is part of a graph with a 8 // different path, and the context should be adjusted accordingly. 9 type GraphNodeModuleInstance interface { 10 Path() addrs.ModuleInstance 11 } 12 13 // GraphNodeModulePath is implemented by all referenceable nodes, to indicate 14 // their configuration path in unexpanded modules. 15 type GraphNodeModulePath interface { 16 ModulePath() addrs.Module 17 }