Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.26 KB

data_group.html.markdown

File metadata and controls

48 lines (34 loc) · 1.26 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_group
Use this data source to access information about an existing Group within Azure DevOps.

Data Source: azuredevops_group

Use this data source to access information about an existing Group within Azure DevOps

Example Usage

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
}

Argument Reference

The following arguments are supported:

  • project_id - (Required) The Project Id.
  • name - (Required) The Group Name.

Attributes Reference

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.

Relevant Links