github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/node_provider_eval.go (about) 1 package terraform 2 3 // NodeEvalableProvider represents a provider during an "eval" walk. 4 // This special provider node type just initializes a provider and 5 // fetches its schema, without configuring it or otherwise interacting 6 // with it. 7 type NodeEvalableProvider struct { 8 *NodeAbstractProvider 9 } 10 11 // GraphNodeEvalable 12 func (n *NodeEvalableProvider) EvalTree() EvalNode { 13 addr := n.Addr 14 relAddr := addr.ProviderConfig 15 16 return &EvalInitProvider{ 17 TypeName: relAddr.Type, 18 Addr: addr.ProviderConfig, 19 } 20 }