microsoft / terraform-provider-azuredevops

Terraform Azure DevOps provider
https://www.terraform.io/docs/providers/azuredevops/
MIT License
386 stars 276 forks source link

New Datasource: user_entitlement #435

Open drdamour opened 3 years ago

drdamour commented 3 years ago

Community Note

Description

https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/resources/branch_policy_auto_reviewers requires the id of the entitlement to assign user as reviwers, in our system we can't manage the entitlements and if we try to import than later applies complain about permissions, instead i'd like to use entitlements as a data source

New or Affected Resource(s)

Potential Terraform Configuration

data "azuredevops_user_entitlement" "example" {
  principal_name = "foo@contoso.com"
}

References

tadavid-cae commented 2 years ago

+1