github.com/jaredpalmer/terraform@v1.1.0-alpha20210908.0.20210911170307-88705c943a03/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 }