Rename wan interface
This commit is contained in:
parent
47a25347b1
commit
64fbe9554a
2 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ resource "stackit_network" "landingzone_lan" {
|
||||||
routed = true
|
routed = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "stackit_network_interface" "wan" {
|
resource "stackit_network_interface" "landingzone_wan" {
|
||||||
project_id = module.project.project_info["landingzone"].project_id
|
project_id = module.project.project_info["landingzone"].project_id
|
||||||
network_id = stackit_network.landingzone_wan.network_id
|
network_id = stackit_network.landingzone_wan.network_id
|
||||||
security = false
|
security = false
|
||||||
|
|
@ -131,7 +131,7 @@ resource "stackit_network_interface" "p6_lan1" {
|
||||||
/* ---------- public IP configuration------------- */
|
/* ---------- public IP configuration------------- */
|
||||||
resource "stackit_public_ip" "wan_ip" {
|
resource "stackit_public_ip" "wan_ip" {
|
||||||
project_id = module.project.project_info["landingzone"].project_id
|
project_id = module.project.project_info["landingzone"].project_id
|
||||||
network_interface_id = stackit_network_interface.wan.network_interface_id
|
network_interface_id = stackit_network_interface.landingzone_wan.network_interface_id
|
||||||
}
|
}
|
||||||
resource "stackit_public_ip" "wan_ip_beta" {
|
resource "stackit_public_ip" "wan_ip_beta" {
|
||||||
project_id = module.project.project_info["vpn"].project_id
|
project_id = module.project.project_info["vpn"].project_id
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ resource "stackit_server" "pfsense_appliance" {
|
||||||
}
|
}
|
||||||
availability_zone = var.region_az1
|
availability_zone = var.region_az1
|
||||||
machine_type = var.flavor
|
machine_type = var.flavor
|
||||||
network_interfaces = [stackit_network_interface.wan.network_interface_id]
|
network_interfaces = [stackit_network_interface.landingzone_wan.network_interface_id]
|
||||||
depends_on = [ stackit_network.landingzone_wan ]
|
depends_on = [ stackit_network.landingzone_wan ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue