| layout | azuredevops |
|---|---|
| page_title | AzureDevops: azuredevops_group |
| description | Use this data source to access information about an existing Group within Azure DevOps. |
Use this data source to access information about an existing Group within Azure DevOps
data "azuredevops_project" "p" {
project_name = "contoso-project"
}
data "azuredevops_group" "test" {
project_id = data.azuredevops_project.p.id
name = "Test Group"
}
output "group_id" {
value = data.azuredevops_group.test.id
}
output "group_descriptor" {
value = data.azuredevops_group.test.descriptor
}The following arguments are supported:
project_id- (Required) The Project Id.name- (Required) The Group Name.
The following attributes are exported:
id- The ID for this resource is the group descriptor. See below.descriptor- The Descriptor is the primary way to reference the graph subject. This field will uniquely identify the same graph subject across both Accounts and Organizations.