Skip to content

[BUG]: the github_teams resource provides no way to retrieve child teams #2728

@aiven-amartin

Description

@aiven-amartin

Expected Behavior

https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team or a similar resource should allow me to retrieve the child teams. For example, I want to retrieve the list of valid codeowners for a given repository. github_repository_teams only gives me the direct team members on the repository, and github_team only lets me retrieve the users on those teams, not their child teams. I need a resource that recurses the childTeams node in the graphql.

Actual Behavior

It doesn't

Terraform Version

github = {
  source  = "integrations/github"
  version = "~> 6.0"
}

Affected Resource(s)

  • github_team
  • github_repository_teams

Terraform Configuration Files

Steps to Reproduce

No response

Debug Output

Panic Output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🆕 Triage

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions