Describe the need
Currently github_external_groups is available, but it lists all external groups for the entire organization. It uses the v3 REST API for /orgs/{org}/external-groups, via the go-github TeamService.ListExternalGroups().
I have a need to lookup the external groups for a single team, rather than the entire organization. This is exposed via the v3 REST API at /orgs/{org}/teams/{team_slug}/external-groups, and in go-github via TeamService.ListExternalGroupsForTeamBySlug().
Perhaps the best interface would be something like:
data "github_team_external_groups" "example" {
slug = "example"
}
where the output attributes match the same schema as data "github_external_groups".
SDK Version
No response
API Version
No response
Relevant log output
Code of Conduct
Describe the need
Currently
github_external_groupsis available, but it lists all external groups for the entire organization. It uses the v3 REST API for /orgs/{org}/external-groups, via the go-githubTeamService.ListExternalGroups().I have a need to lookup the external groups for a single team, rather than the entire organization. This is exposed via the v3 REST API at /orgs/{org}/teams/{team_slug}/external-groups, and in go-github via
TeamService.ListExternalGroupsForTeamBySlug().Perhaps the best interface would be something like:
where the output attributes match the same schema as
data "github_external_groups".SDK Version
No response
API Version
No response
Relevant log output
Code of Conduct