From 3ed7b1abecf30eff695af7535068ce3fc97dfeef Mon Sep 17 00:00:00 2001 From: James Bardin Date: Mon, 2 Oct 2017 16:21:37 -0400 Subject: [PATCH] fix the providerWithLocals test This test was set to fail once this issue was fixed, and now it's fixed. --- terraform/context_apply_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index 2ab26e885..36f1140e7 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -8928,8 +8928,7 @@ func TestContext2Apply_providerWithLocals(t *testing.T) { // Destroy won't work because the local value is removed before the // provider. Once this is fixed this test will start to fail, and we // can remove the invalid interpolation string; - // if providerRegion != "bar" { - if providerRegion != "${local.foo}" { + if providerRegion != "bar" { t.Fatalf("expected region %q, got: %q", "bar", providerRegion) } }