Skip to content

Commit 91c09f4

Browse files
Update internal/fwserver/server_moveresourcestate.go
Co-authored-by: Austin Valle <[email protected]>
1 parent 023fda3 commit 91c09f4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/fwserver/server_moveresourcestate.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,6 @@ func (s *Server) MoveResourceState(ctx context.Context, req *MoveResourceStateRe
226226
return
227227
}
228228

229-
if resp.TargetIdentity != nil && req.IdentitySchema == nil {
230-
resp.Diagnostics.AddError(
231-
"Unexpected Move State Response",
232-
"An unexpected error was encountered when creating the move state response. New identity data was returned by the provider move state operation, but the resource does not indicate identity support.\n\n"+
233-
"This is always a problem with the provider and should be reported to the provider developer.",
234-
)
235-
236-
return
237-
}
238-
239229
// Set any write-only attributes in the move resource state to null
240230
modifiedState, err := tftypes.Transform(moveStateResp.TargetState.Raw, NullifyWriteOnlyAttributes(ctx, moveStateResp.TargetState.Schema))
241231
if err != nil {

0 commit comments

Comments
 (0)