azuredevops_team_administrators

Manages administrators of a team within a project in a Azure DevOps organization.

Example Usage

resource "azuredevops_project" "example" {
  name               = "Example Project"
  work_item_template = "Agile"
  version_control    = "Git"
  visibility         = "private"
  description        = "Managed by Terraform"
}

data "azuredevops_group" "example-project-contributors" {
  project_id = azuredevops_project.example.id
  name       = "Contributors"
}

resource "azuredevops_team" "example" {
  project_id = azuredevops_project.example.id
  name       = "${azuredevops_project.example.name} Team 2"
}

resource "azuredevops_team_administrators" "example-team-administrators" {
  project_id = azuredevops_team.example.project_id
  team_id    = azuredevops_team.example.id
  mode       = "overwrite"
  administrators = [
    data.azuredevops_group.example-project-contributors.descriptor
  ]
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to all arguments above, the following attributes are exported:

Import

The resource does not support import.

PAT Permissions Required