mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
dc1b133831
simplification allows us to settle on a single interface, graphNodeExpandsInstances for all types if instance expanders. The only other specific class of resource we need to detect during pruning is the nodeExpandApplyableResource node, which is already classified under the GraphNodeResourceInstance interface.
8 lines
206 B
Go
8 lines
206 B
Go
package terraform
|
|
|
|
// graphNodeExpandsInstances is implemented by nodes that causes instances to
|
|
// be registered in the instances.Expander.
|
|
type graphNodeExpandsInstances interface {
|
|
expandsInstances()
|
|
}
|