From 95bdf98738b73d39874987526f3124614269e759 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 27 Sep 2018 16:01:57 -0700 Subject: [PATCH] core: Fix TestContext2Apply_moduleOrphanProvider We now always expect to find a provider configuration in state. If not, we assume a module-local one, which is not what this test was trying to test. --- terraform/context_apply_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index a9c8deccb..a6e048ee9 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -2867,6 +2867,7 @@ func TestContext2Apply_moduleOrphanProvider(t *testing.T) { Primary: &InstanceState{ ID: "bar", }, + Provider: "provider.aws", }, }, },