Open bgmonroe opened 7 months ago
@bgmonroe the id
and descriptor
are the same, descriptor
can change to id
by API(https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/storage-keys/get?view=azure-devops-rest-7.1&tabs=HTTP). You can also use the origin_id
as the id
in azuredevops_groups
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_groups
Important Factoids
Currently state:
azuredevops_group
data source sets both itsid
anddescriptor
attributes to the same value.azuredevops_groups
data source sets each groupsid
to a GUID and itsdescriptor
to a different value.Problem: Most (all, I think) of the
azuredevops_*_permissions
resource examples in the published documentation show the resource'sprincipal
argument accepting the output of theid
attribute from theazuredevops_group
data source. This causes confusion when using theazuredevops_groups
data source, since that value is not the correct value forprincipal
arg.Request: Please set the
id
attribute for each returned group from theazuredevops_groups
data source to the same value as its descriptor.References
0000