microsoft / terraform-provider-azuredevops

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

Feature Request: Add an `azuredevops_service_principal_entitlement` resource #797

Open michael-sterling opened 1 year ago

michael-sterling commented 1 year ago

Community Note

Description

The Azure DevOps Services REST API v 7.1 introduced a "Service Principal Entitlements" endpoint [^1] for adding a Service Principal to an Azure DevOps instance [^2].

I would like to be able to manage these entitlements in Terraform using this provider.

The existing azuredevops_user_entitlement^3 resource seems like a good starting-point. The "Argument Reference" and "Attributes Reference" sections suggested below are copied from that resource's documentation.

New or Affected Resource(s)

Potential Terraform Configuration

resource "azuredevops_service_principal_entitlement" "example" {
  object_id = "00000000-0000-0000-0000-00000000"
}

Argument Reference

Attributes Reference

The following attributes are exported:

References

[^1]: Azure DevOps Services REST API v 7.1 Endpoint [^2]: Add and manage service principals in an Azure DevOps organization

juicybaba commented 3 months ago

Any update for this issue?