mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 00:41:27 -06:00
18 lines
476 B
Go
18 lines
476 B
Go
package terraform
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/addrs"
|
|
)
|
|
|
|
// GraphNodeModuleInstance says that a node is part of a graph with a
|
|
// different path, and the context should be adjusted accordingly.
|
|
type GraphNodeModuleInstance interface {
|
|
Path() addrs.ModuleInstance
|
|
}
|
|
|
|
// GraphNodeModulePath is implemented by all referenceable nodes, to indicate
|
|
// their configuration path in unexpanded modules.
|
|
type GraphNodeModulePath interface {
|
|
ModulePath() addrs.Module
|
|
}
|