Use this data source to access information about an existing Team in a Project within Azure DevOps.
resource "azuredevops_project" "example" {
name = "Example Project"
work_item_template = "Agile"
version_control = "Git"
visibility = "private"
description = "Managed by Terraform"
}
data "azuredevops_team" "example" {
project_id = azuredevops_project.example.id
name = "Example Project Team"
}
The following arguments are supported:
project_id
- (Required) The Project ID.name
- (Required) The name of the Team.top
- (Optional) The maximum number of teams to return. Defaults to 100
.The following attributes are exported:
id
- Team identifierdescriptor
- The descriptor of the Team.description
- Team description.administrators
- List of subject descriptors for administrators
of the team.members
- List of subject descriptors for members
of the team.