diff --git a/command/state_mv_test.go b/command/state_mv_test.go index 406afa412c..25addaefd5 100644 --- a/command/state_mv_test.go +++ b/command/state_mv_test.go @@ -249,7 +249,7 @@ func TestStateMv_instanceToNewResource(t *testing.T) { AttrsJSON: []byte(`{"id":"bar","foo":"value","bar":"value"}`), Status: states.ObjectReady, }, - addrs.ProviderConfig{Type: "test"}.Absolute(addrs.RootModuleInstance), + addrs.ProviderConfig{Type: addrs.NewLegacyProvider("test")}.Absolute(addrs.RootModuleInstance), ) }) statePath := testStateFile(t, state)