Open ncook-hxgn opened 7 months ago
@ncook-hxgn data.azuredevops_users
returns a user collection, you cannot get the user descriptor directly for azuredevops_users
. You can get the user descriptor by tolist(data.azuredevops_users.admin.users)[0].descriptor
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_users
Terraform Configuration Files
Debug Output
Terraform plan is happy. Terraform apply fails:
Panic Output
Expected Behavior
attribute is documented as supported: https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/data-sources/users#descriptor
Actual Behavior
Steps to Reproduce
terraform apply
a.var.ado_user
is an email address for a valid azure devops organisation user b.var.organisation
is the organisation nameImportant Factoids
None
References
0000