integrations / integrations/terraform-provider-github

[FEAT]: Support filtering `github_external_groups` data source using `display_name` argument

Open
#3,409 1 comment 1 reaction 0 assignees View on GitHub
Status: Triage Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

The `github_external_groups` data source currently supports zero arguments.

This is awkward when you have a lot of groups, especially since the result will be persisted to the state file.

The underlying API allows you to filter the results based on `display_name` ([API docs](https://docs.github.com/en/enterprise-cloud@latest/rest/teams/external-groups?apiVersion=2026-03-10#list-external-groups-available-to-an-organization), which would narrow down the results by a lot. The data source should also support this optional argument.

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.