Use this data source to retrieve the list of teams which have access to a GitHub repository.
data "github_repository_teams" "example" {
name = "example"
}
name
- (Optional) The name of the repository.full_name
- (Optional) Full name of the repository (in org/name
format).teams
- List of teams which have access to the repository
name
- Team nameslug
- Team slugpermission
- Team permission