github.com/cycloidio/terraform@v1.1.10-0.20220513142504-76d5c768dc63/terraform/transform_expand.go (about)

     1  package terraform
     2  
     3  // GraphNodeDynamicExpandable is an interface that nodes can implement
     4  // to signal that they can be expanded at eval-time (hence dynamic).
     5  // These nodes are given the eval context and are expected to return
     6  // a new subgraph.
     7  type GraphNodeDynamicExpandable interface {
     8  	DynamicExpand(EvalContext) (*Graph, error)
     9  }