Skip to content

Commit

Permalink
Revert "attempt to use usernames in import"
Browse files Browse the repository at this point in the history
This reverts commit a4bdab0.
  • Loading branch information
Luiggi33 committed Jul 28, 2024
1 parent b9f00af commit ac1e785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/user_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ func (r *userResource) Configure(_ context.Context, req resource.ConfigureReques
}

func (r *userResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) {
// Retrieve import username and save to username attribute
resource.ImportStatePassthroughID(ctx, path.Root("username"), req, resp)
// Retrieve import ID and save to id attribute
resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp)
}

0 comments on commit ac1e785

Please sign in to comment.