diff --git a/modules/device/tunnel.tf b/modules/device/tunnel.tf index 14ae4a7..b9e8014 100644 --- a/modules/device/tunnel.tf +++ b/modules/device/tunnel.tf @@ -119,5 +119,6 @@ resource "netbox_vpn_tunnel_termination" "site" { tunnel_id = each.value.id role = "peer" - device_interface_id = netbox_device_interface.tunnels[each.key].id + device_interface_id = netbox_device_interface.tunnels[each.key].id + outside_ip_address_id = netbox_ip_address.gre_dnat.id }