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
╷
│ Error: Client Error
│
│ with coderd_user.user,
│ on users.tf line 1, in resource "coderd_user" "user":
│ 1: resource "coderd_user" "user" {
│
│ Unable to get current user, got error: GET
│ https://<REDACTED url>/api/v2/users/<REDACTED user id>:
│ unexpected status code 400: "user" must be an existing uuid or username.
│ Error: queried user="<REDACTED user id>"
╵
I would have expected the provider to mark this as deleted instead of running into an error
The text was updated successfully, but these errors were encountered:
michvllni
changed the title
Plan fails when user was deleted outside of terraform
Resource coderd_user: Plan fails when user was deleted outside of terraform
Apr 11, 2025
When a user created via the coderd provider is removed outside of terraform, the plan fails because it cannot find the user.
I would have expected the provider to mark this as deleted instead of running into an error
The text was updated successfully, but these errors were encountered: