From d4f3eff7ee3842e86875f5297c2ca6fc4ca57227 Mon Sep 17 00:00:00 2001 From: Mario Mupo <43968294+mamu0@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:00:38 +0200 Subject: [PATCH] [PE-703] Fixed pep service connection name (#1218) --- src/common/_modules/private_endpoint/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}