core: Fix test build for ./plans/planfile
This was missed in the splitting of "Replace" into "DeleteThenCreate" and "CreateThenDelete".
This commit is contained in:
parent
3919a9644c
commit
896b6bc897
|
@ -60,7 +60,7 @@ func TestTFPlanRoundTrip(t *testing.T) {
|
||||||
Type: "test",
|
Type: "test",
|
||||||
}.Absolute(addrs.RootModuleInstance),
|
}.Absolute(addrs.RootModuleInstance),
|
||||||
ChangeSrc: plans.ChangeSrc{
|
ChangeSrc: plans.ChangeSrc{
|
||||||
Action: plans.Replace,
|
Action: plans.DeleteThenCreate,
|
||||||
Before: mustNewDynamicValue(cty.ObjectVal(map[string]cty.Value{
|
Before: mustNewDynamicValue(cty.ObjectVal(map[string]cty.Value{
|
||||||
"id": cty.StringVal("foo-bar-baz"),
|
"id": cty.StringVal("foo-bar-baz"),
|
||||||
}), objTy),
|
}), objTy),
|
||||||
|
|
Loading…
Reference in New Issue