Fix resource names for module.vpc
This commit is contained in:
parent
316428a787
commit
53cf42103e
@ -81,7 +81,7 @@ resource "azurerm_subnet" "gateway" {
|
||||
|
||||
|
||||
resource "azurerm_public_ip" "vpn_ip" {
|
||||
name = "test"
|
||||
name = "${var.name}-${var.environment}-vpn-ip"
|
||||
location = azurerm_resource_group.vpc.location
|
||||
resource_group_name = azurerm_resource_group.vpc.name
|
||||
|
||||
@ -89,7 +89,7 @@ resource "azurerm_public_ip" "vpn_ip" {
|
||||
}
|
||||
|
||||
resource "azurerm_virtual_network_gateway" "vnet_gateway" {
|
||||
name = "test"
|
||||
name = "${var.name}-${var.environment}-gateway"
|
||||
location = azurerm_resource_group.vpc.location
|
||||
resource_group_name = azurerm_resource_group.vpc.name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user