diff --git a/modules/azure/networking/main.tf b/modules/azure/networking/main.tf index 783a373..692bb21 100644 --- a/modules/azure/networking/main.tf +++ b/modules/azure/networking/main.tf @@ -27,7 +27,7 @@ resource "azurerm_subnet" "subnets" { resource "azurerm_public_ip" "nat_address" { count = 2 - name = "${var.nat_prefix}nat-external-address-${count.index}" + name = "${var.ip_prefix}nat-external-address-${count.index}" location = var.vnet_location resource_group_name = var.resource_group_name allocation_method = "Static"