From 8388dfd2f9808262fd9e57c9892962049f02c6ec Mon Sep 17 00:00:00 2001 From: James Bardin Date: Thu, 2 Nov 2017 09:26:10 -0400 Subject: [PATCH] update GraphBuilder_targetModule test The updates CLoseProviderTransformer connects all provider instances, which is technically the correct behavior. --- terraform/graph_builder_apply_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terraform/graph_builder_apply_test.go b/terraform/graph_builder_apply_test.go index a1c02dfa88..432cf4fc3f 100644 --- a/terraform/graph_builder_apply_test.go +++ b/terraform/graph_builder_apply_test.go @@ -84,7 +84,7 @@ func TestApplyGraphBuilder(t *testing.T) { actual := strings.TrimSpace(g.String()) expected := strings.TrimSpace(testApplyGraphBuilderStr) if actual != expected { - t.Fatalf("bad: %s", actual) + t.Fatalf("expected:\n%s\n\ngot:\n%s", expected, actual) } } @@ -515,6 +515,7 @@ provider.aws (close) aws_instance.other module.child.aws_instance.create module.child.aws_instance.other + module.child.provider.aws provider.aws provisioner.exec (close) module.child.aws_instance.create