mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-27 17:06:27 -06:00
terraform: NodeApplyableProvider evals with config
This commit is contained in:
parent
79a742c1ae
commit
39abec4970
@ -19,7 +19,7 @@ type InputMode byte
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// NOTE: Internal only to toggle between the new and old apply graph
|
// NOTE: Internal only to toggle between the new and old apply graph
|
||||||
newApplyGraph = false
|
newApplyGraph = true
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -51,5 +51,5 @@ func (n *NodeApplyableProvider) AttachProvider(c *config.ProviderConfig) {
|
|||||||
|
|
||||||
// GraphNodeEvalable
|
// GraphNodeEvalable
|
||||||
func (n *NodeApplyableProvider) EvalTree() EvalNode {
|
func (n *NodeApplyableProvider) EvalTree() EvalNode {
|
||||||
return ProviderEvalTree(n.NameValue, nil)
|
return ProviderEvalTree(n.NameValue, n.ProviderConfig())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user