I am trying to add a few users to an azure devops team. I am following the instruction
https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/resources/team_members
My use case is to add a number of existing users (from azure active directory) to the team. Those users are already visible in azure devops and members of other azure devops projects. Is there an example someone can provide?
resource "azuredevops_team_members" "example-team-members" {
project_id = azuredevops_team.example.project_id
team_id = azuredevops_team.example.id
mode = "overwrite"
members = [
data.azuredevops_group.example-project-readers.descriptor
]
}
Thanks in advance.
Kind Regards,
Ash