Manages a group entitlement within Azure DevOps.
resource "azuredevops_group_entitlement" "example" {
display_name = "Group Name"
}
resource "azuredevops_group_entitlement" "example" {
origin = "aad"
origin_id = "00000000-0000-0000-0000-000000000000"
}
display_name
- (Optional) The display name is the name used in Azure DevOps UI. Cannot be set together with origin_id
and origin
.origin_id
- (Optional) The unique identifier from the system of origin. Typically, a sid, object id or Guid. e.g. Used for member of other tenant on Azure Active Directory.origin
- (Optional) The type of source provider for the origin identifier.account_license_type
- (Optional) Type of Account License. Valid values: advanced
, earlyAdopter
, express
, none
, professional
, or stakeholder
. Defaults to express
. In addition, the value basic
is allowed which is an alias for express
and reflects the name of the express
license used in the Azure DevOps web interface.licensing_source
- (Optional) The source of the licensing (e.g. Account. MSDN etc.) Valid values: account
(Default), auto
, msdn
, none
, profile
, trial
NOTE: A existing group in Azure AD can only be referenced by the combination of
origin_id
andorigin
.
The following attributes are exported:
id
- The id of the entitlement.principal_name
- The principal name of a graph member on Azure DevOpsdescriptor
- The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the group graph subject.The resource allows the import via the ID of a group entitlement, which is a UUID.
terraform import azuredevops_group_entitlement.example 00000000-0000-0000-0000-000000000000