You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"An unexpected error was encountered when creating the read response. New identity data was returned by the provider read operation, but the resource does not indicate identity support.\n\n"+
169
-
"This is always a problem with the provider and should be reported to the provider developer.",
170
-
)
175
+
ifresp.NewIdentity!=nil {
176
+
ifreq.IdentitySchema==nil {
177
+
resp.Diagnostics.AddError(
178
+
"Unexpected Read Response",
179
+
"An unexpected error was encountered when creating the read response. New identity data was returned by the provider read operation, but the resource does not indicate identity support.\n\n"+
180
+
"This is always a problem with the provider and should be reported to the provider developer.",
181
+
)
171
182
172
-
return
183
+
return
184
+
}
185
+
186
+
// If we're refreshing the resource state (excluding a recently imported resource), validate that the new identity isn't changing
0 commit comments