terraform/provider/docs/data-sources/user.md
Retrieves information about an existing LiteLLM user by ID
data "litellm_user" "alice" {
user_id = "alice-user-id"
}
output "alice_email" {
value = data.litellm_user.alice.user_email
}
user_id (Required) - ID of the user to retrieveid - The user IDuser_email - Email address of the useruser_alias - Descriptive name for the useruser_role - Role of the user on the proxyteams - List of team IDs the user belongs tomodels - Models the user is allowed to callmax_budget - Maximum budget in USD for the userspend - Current spend in USD for the userbudget_duration - Budget reset period for the usertpm_limit - Tokens per minute limitrpm_limit - Requests per minute limitmax_parallel_requests - Maximum number of parallel requestsmetadata - Map of metadata for the usermodel_max_budget - JSON string of per-model budget config