mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
* feat(terraform): close key/team schema gaps, fix team read envelope, add import support * feat(terraform): add fallback resource/data source and key/team block resources * feat(terraform): add access group and unified access group resources and data sources * feat(terraform): add guardrail and prompt resources and data sources * feat(terraform): add agent and search tool resources and data sources * feat(terraform): add user and budget resources and data sources * feat(terraform): add tag and project resources and data sources * docs(terraform): changelog and readme for parity additions * feat(terraform): add data sources for keys, teams, models, organizations, and mcp servers * fix(terraform): key update 400 on empty budget_duration, key info envelope, config-supplied key * fix(terraform): hash raw keys to SHA-256 tokens in key lookup URLs and block resource IDs
1.4 KiB
1.4 KiB
| page_title | subcategory | description |
|---|---|---|
| litellm_organizations Data Source - terraform-provider-litellm | Lists LiteLLM organizations. |
litellm_organizations (Data Source)
Lists LiteLLM organizations via /organization/list.
Example Usage
data "litellm_organizations" "all" {}
output "organization_ids" {
value = data.litellm_organizations.all.ids
}
Argument Reference
The following arguments are supported:
org_alias- (Optional) Filter organizations by alias.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
ids- IDs of the returned organizations.organizations- List of organization objects. Each entry exports:organization_id- Unique identifier of the organization.organization_alias- User-friendly name of the organization.budget_id- ID of the attached budget.models- Models the organization can access.spend- Amount spent by the organization.max_budget- Maximum budget from the attached budget.tpm_limit- Tokens per minute limit from the attached budget.rpm_limit- Requests per minute limit from the attached budget.budget_duration- Budget reset duration from the attached budget.created_at- Creation timestamp.updated_at- Last update timestamp.