2018-05-04 05:41:46 +02:00
|
|
|
package terraform
|
|
|
|
|
|
|
|
// NodeEvalableProvider represents a provider during an "eval" walk.
|
|
|
|
// This special provider node type just initializes a provider and
|
|
|
|
// fetches its schema, without configuring it or otherwise interacting
|
|
|
|
// with it.
|
|
|
|
type NodeEvalableProvider struct {
|
|
|
|
*NodeAbstractProvider
|
|
|
|
}
|
|
|
|
|
|
|
|
// GraphNodeEvalable
|
|
|
|
func (n *NodeEvalableProvider) EvalTree() EvalNode {
|
|
|
|
addr := n.Addr
|
|
|
|
|
|
|
|
return &EvalInitProvider{
|
2020-02-14 15:53:55 +01:00
|
|
|
Addr: addr,
|
2018-05-04 05:41:46 +02:00
|
|
|
}
|
|
|
|
}
|