Skip to content

Commit ac43b09

Browse files
committed
feat: add firewall_next_hop_ip output to connectivity-regional module and update landing zone module
1 parent 8cc20e2 commit ac43b09

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

examples/02-hub-spoke/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,5 @@ module "landing_zone" {
125125
role_assignments = each.value.role_assignments
126126
network_prefix_length = each.value.network_prefix_length
127127
custom_roles = each.value.custom_roles
128+
firewall_next_hop_ip = module.connectivity_regional.firewall_next_hop_ip
128129
}

modules/connectivity-regional/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ output "firewall_public_ip" {
55

66
output "firewall_next_hop_ip" {
77
description = "The IP address to be used as next hop for the default route in the landing zones (pfSense WAN IP)."
8-
value = stackit_network_interface.wan.ipv4
8+
value = stackit_network_interface.lan.ipv4
99
}
1010

1111
output "project_container_id" {

0 commit comments

Comments
 (0)