terraform: NodeApplyableProvider evals with config

This commit is contained in:
Mitchell Hashimoto 2016-09-15 00:00:12 -07:00
parent 79a742c1ae
commit 39abec4970
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 2 additions and 2 deletions

View File

@ -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 (

View File

@ -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())
} }