From 39abec4970084a36860e73e906b11f8eec7c7df3 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 15 Sep 2016 00:00:12 -0700 Subject: [PATCH] terraform: NodeApplyableProvider evals with config --- terraform/context.go | 2 +- terraform/node_provider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/context.go b/terraform/context.go index bde4b1c79..49054ffff 100644 --- a/terraform/context.go +++ b/terraform/context.go @@ -19,7 +19,7 @@ type InputMode byte var ( // NOTE: Internal only to toggle between the new and old apply graph - newApplyGraph = false + newApplyGraph = true ) const ( diff --git a/terraform/node_provider.go b/terraform/node_provider.go index 476be64b1..43d45848e 100644 --- a/terraform/node_provider.go +++ b/terraform/node_provider.go @@ -51,5 +51,5 @@ func (n *NodeApplyableProvider) AttachProvider(c *config.ProviderConfig) { // GraphNodeEvalable func (n *NodeApplyableProvider) EvalTree() EvalNode { - return ProviderEvalTree(n.NameValue, nil) + return ProviderEvalTree(n.NameValue, n.ProviderConfig()) }