Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.49 KB

data_team.html.markdown

File metadata and controls

53 lines (38 loc) · 1.49 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_team
Use this data source to access information about an existing Team in a Project within Azure DevOps.

Data Source: azuredevops_team

Use this data source to access information about an existing Team in a Project within Azure DevOps.

Example Usage

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"
}

Argument Reference

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.

Attributes Reference

The following attributes are exported:

  • id - Team identifier
  • descriptor - 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.

Relevant Links

PAT Permissions Required

  • vso.project: Grants the ability to read projects and teams.