Rename wan_network
This commit is contained in:
parent
ba90a0e7a0
commit
4e2c356e14
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* ------- project 1 - landingzone ------------ */
|
||||
resource "stackit_network" "wan_network" {
|
||||
resource "stackit_network" "landingzone_wan" {
|
||||
project_id = module.project.project_info["landingzone"].project_id
|
||||
name = "landingzone_wan"
|
||||
ipv4_nameservers = ["1.1.1.1", "8.8.8.8"]
|
||||
|
|
@ -16,7 +16,7 @@ resource "stackit_network" "lan_network1" {
|
|||
|
||||
resource "stackit_network_interface" "wan" {
|
||||
project_id = module.project.project_info["landingzone"].project_id
|
||||
network_id = stackit_network.wan_network.network_id
|
||||
network_id = stackit_network.landingzone_wan.network_id
|
||||
security = false
|
||||
name = "MGMT"
|
||||
ipv4 = "10.220.0.254"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ resource "stackit_server" "pfsense_appliance" {
|
|||
availability_zone = var.region_az1
|
||||
machine_type = var.flavor
|
||||
network_interfaces = [stackit_network_interface.wan.network_interface_id]
|
||||
depends_on = [ stackit_network.wan_network ]
|
||||
depends_on = [ stackit_network.landingzone_wan ]
|
||||
}
|
||||
|
||||
// This file is part of the STACKIT Terraform module for deploying a pfSense appliance.
|
||||
|
|
|
|||
Loading…
Reference in a new issue