Skip to content

Commit

Permalink
Naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl committed Apr 17, 2024
1 parent 6c4c4bb commit 64074e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private-endpoints.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "azurerm_subnet_route_table_association" "private_endpoint" {
resource "azurerm_private_endpoint" "mssql" {
for_each = local.private_endpoint_configurations

name = "${local.resource_prefix}${each.key}"
name = "${local.resource_prefix}-mssql.${azurerm_subnet.private_endpoint[each.key].name}"
location = data.azurerm_virtual_network.private_endpoints[each.key].location
resource_group_name = local.resource_group.name
subnet_id = azurerm_subnet.private_endpoint[each.key].id
Expand Down

0 comments on commit 64074e3

Please sign in to comment.