Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.6 KB

identity_groups.html.markdown

File metadata and controls

46 lines (31 loc) · 1.6 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_identity_groups
Use this data source to access information about existing Groups within Azure DevOps

Data Source: azuredevops_identity_groups

Use this data source to access information about existing Groups within Azure DevOps On-Premise(Azure DevOps Server).

Example Usage

data "azuredevops_project" "example" {
  name = "Example Project"
}

# load all existing groups inside an organization
data "azuredevops_identity_groups" "example-all-groups" {
}

# load all existing groups inside a specific project
data "azuredevops_identity_groups" "example-project-groups" {
  project_id = data.azuredevops_project.example.id
}

Argument Reference

The following arguments are supported:

  • project_id - (Optional) The Project ID. If no project ID is specified all groups of an organization will be returned

Attributes Reference

The following attributes are exported:

  • groups - A set of existing groups in your Azure DevOps Organization or project with details about every single group which includes:

    • descriptor - The descriptor is the primary way to reference the identity subject while the system is running. This field will uniquely identify the same identity subject across both Accounts and Organizations.
    • name - This is the non-unique display name of the identity subject. To change this field, you must alter its value in the source provider.

Relevant Links