diff --git a/src/common/_modules/private_endpoint/main.tf b/src/common/_modules/private_endpoint/main.tf index 74456fd5d..666c9e000 100644 --- a/src/common/_modules/private_endpoint/main.tf +++ b/src/common/_modules/private_endpoint/main.tf @@ -12,7 +12,7 @@ resource "azurerm_private_endpoint" "this" { subnet_id = var.pep_snet_id private_service_connection { - name = "${var.project}-${each.key}-pep-01" + name = "${var.project}-${each.key}" private_connection_resource_id = each.value.resource_id is_manual_connection = false subresource_names = each.value.subresource_names @@ -24,4 +24,4 @@ resource "azurerm_private_endpoint" "this" { } tags = var.tags -} \ No newline at end of file +}