github_organization_teams

Use this data source to retrieve information about all GitHub teams in an organization.

Example Usage

To retrieve all teams of the organization:

data "github_organization_teams" "all" {}

To retrieve only the team's at the root of the organization:

data "github_organization_teams" "root_teams" {
  root_teams_only = true
}

Attributes Reference


The team block consists of: