From 896b6bc8978b53936caf3161adc5f52a39d05a50 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 28 Sep 2018 15:21:39 -0700 Subject: [PATCH] core: Fix test build for ./plans/planfile This was missed in the splitting of "Replace" into "DeleteThenCreate" and "CreateThenDelete". --- plans/planfile/tfplan_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/planfile/tfplan_test.go b/plans/planfile/tfplan_test.go index dcb76530a..d1ab80739 100644 --- a/plans/planfile/tfplan_test.go +++ b/plans/planfile/tfplan_test.go @@ -60,7 +60,7 @@ func TestTFPlanRoundTrip(t *testing.T) { Type: "test", }.Absolute(addrs.RootModuleInstance), ChangeSrc: plans.ChangeSrc{ - Action: plans.Replace, + Action: plans.DeleteThenCreate, Before: mustNewDynamicValue(cty.ObjectVal(map[string]cty.Value{ "id": cty.StringVal("foo-bar-baz"), }), objTy),