litellm/terraform/provider/docs/data-sources/access_groups.md
Shivam Rawat 3653e5893f
feat(terraform): resource and data source parity with the community provider (#38158)
* 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
2026-08-28 16:55:40 -07:00

796 B

page_title subcategory description
litellm_access_groups Data Source - terraform-provider-litellm Retrieves all LiteLLM model access groups.

litellm_access_groups (Data Source)

Retrieves all LiteLLM model access groups configured on the proxy.

Example Usage

data "litellm_access_groups" "all" {}

output "access_group_names" {
  value = data.litellm_access_groups.all.ids
}

Argument Reference

This data source takes no arguments.

Attribute Reference

  • access_groups - List of access groups. Each entry exports:

    • access_group - The access group name.
    • model_names - List of model names in the access group.
    • deployment_count - Number of deployments tagged with this access group.
  • ids - List of all access group names.