From 460b7e7549d441b24713f84c08ebbe93a258f530 Mon Sep 17 00:00:00 2001 From: Mauritz Uphoff Date: Tue, 8 Jul 2025 15:38:37 +0200 Subject: [PATCH] blackhole/internet test --- 03-sw-appliances.tf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/03-sw-appliances.tf b/03-sw-appliances.tf index fc0671d..b49ebd9 100644 --- a/03-sw-appliances.tf +++ b/03-sw-appliances.tf @@ -12,7 +12,9 @@ resource "stackit_routing_table" "rt1" { } resource "stackit_routing_table_route" "vpn" { + organization_id = var.stackit_organization_id network_area_id = local.sna_id + routing_table_id = stackit_routing_table.rt1.routing_table_id next_hop = { type = "ipv4" value = "10.1.1.10" @@ -21,8 +23,22 @@ resource "stackit_routing_table_route" "vpn" { type = "cidrv4" value = "192.168.1.0/24" } +} + +resource "stackit_routing_table_route" "blackhole_route" { organization_id = var.stackit_organization_id + network_area_id = local.sna_id routing_table_id = stackit_routing_table.rt1.routing_table_id + + destination = { + type = "cidrv4" + // ip of stackit.de + value = "45.129.42.3/32" + } + + next_hop = { + type = "internet" + } } resource "stackit_network" "cloud_network01" {