Skip to content

Commit

Permalink
fix: Updated private endpoint naming
Browse files Browse the repository at this point in the history
  • Loading branch information
13archit committed Jun 2, 2023
1 parent 6b7bf4d commit 308b579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ resource "azurerm_container_registry_webhook" "main" {
##-----------------------------------------------------------------------------
resource "azurerm_private_endpoint" "pep1" {
count = var.enable && var.enable_private_endpoint ? 1 : 0
name = format("%s-pe-acr", module.labels.id)
name = format("%s-%s-pe-acr", var.container_registry_config.name, module.labels.id)
location = var.location
resource_group_name = var.resource_group_name
subnet_id = join("", var.subnet_id)
Expand Down

0 comments on commit 308b579

Please sign in to comment.