hashicorp / go-azure-helpers

This repository contains various helpers and wrappers for working with Azure and the Azure SDK for Go.
Mozilla Public License 2.0
57 stars 43 forks source link

New Common ID for Private Endpoint #195

Open tombuildsstuff opened 10 months ago

tombuildsstuff commented 10 months ago

Private Endpoint is used across the AzureRM Provider, as such when the network service gets updated, the API version specific import needs to change in every place the Private Endpoint Resource ID is referenced, as can be seen in https://github.com/hashicorp/terraform-provider-azurerm/pull/23875

We should make Private Endpoint a Common ID, meaning these imports reference the commonids directory, rather than privateendpoints within a given version of the network service across the Provider - which'll reduce the churn.

Resource ID format: /subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/privateEndpoints/%s