hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.6k stars 4.64k forks source link

Support for using user assigned identity in cognitive search #19170

Open shivomgangwar3 opened 2 years ago

shivomgangwar3 commented 2 years ago

Is there an existing issue for this?

Community Note

Description

Unable to use user assigned identity in azurerm_search_service module, while we can use user assigned identity by Azure Portal.

New or Affected Resource(s)/Data Source(s)

azurerm_search_service

Potential Terraform Configuration

No response

References

No response

hashem-alrifai commented 1 year ago

Me too

patst commented 11 months ago

Would love to see it as well.

It seems the Azure REST API does not support UserAssigned identities (https://github.com/hashicorp/terraform-provider-azurerm/blob/ed9565a1ea594edac824b869c7bffff1e40a3a5e/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/search/2023-11-01/services/model_searchservice.go#L12 ).

The current used version is 2023-11-01 which seems the most recent one: https://learn.microsoft.com/en-us/rest/api/searchservice/search-service-api-versions#stable-versions

vishbhalla commented 3 months ago

Looks like latest API is up to date now: 2024-07-01 https://learn.microsoft.com/en-us/rest/api/searchservice/search-service-api-versions#stable-versions