github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/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  }