- Notifications
You must be signed in to change notification settings - Fork3
Closed
Description
When a user created via the coderd provider is removed outside of terraform, the plan fails because it cannot find the user.
resource"coderd_user""user" {username="myuser"email="myuser@myorg.com"name="My User"roles=[]login_type="oidc"}
╷│ 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
Metadata
Metadata
Assignees
Labels
No labels