| layout | github |
|---|---|
| page_title | GitHub: github_team |
| description | Get information on a GitHub team. |
Use this data source to retrieve information about a GitHub team.
data "github_team" "example" {
slug = "example"
}slug- (Required) The team slug.membership_type- (Optional) Type of membership to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"summary_only- (Optional) Exclude the members and repositories of the team from the returned result. Defaults tofalse.results_per_page- (Optional) Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to100.
id- the ID of the team.node_id- the Node ID of the team.name- the team's full name.description- the team's description.privacy- the team's privacy type.notification_setting- the team's notification setting.permission- the team's permission level.members- List of team members (list of GitHub usernames). Not returned ifsummary_only = truerepositories- List of team repositories (list of repo names). Not returned ifsummary_only = truerepositories_detailed- List of team repositories (list ofrepo_idandrole_name). Not returned ifsummary_only = true