File tree Expand file tree Collapse file tree
modules/connectivity-regional Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ############
2+ # # ROUTING ##
3+ # ############
4+
5+ resource "stackit_routing_table" "wan" {
6+ organization_id = var. organization_id
7+ network_area_id = var. network_area_id
8+ name = " wan"
9+ system_routes = true
10+ }
11+
12+ resource "stackit_routing_table_route" "wan" {
13+ organization_id = var. organization_id
14+ network_area_id = var. network_area_id
15+ routing_table_id = stackit_routing_table. wan . routing_table_id
16+
17+ destination = {
18+ type = " cidrv4"
19+ value = " 0.0.0.0/0"
20+ }
21+
22+ next_hop = {
23+ type = " internet"
24+ }
25+ }
26+
27+ # ############
28+ # # NETWORK ##
29+ # ############
30+
31+ resource "stackit_network" "wan" {
32+ project_id = stackit_resourcemanager_project. this . project_id
33+ name = " wan_network"
34+ routing_table_id = stackit_routing_table. wan . routing_table_id
35+ routed = true
36+ }
37+
38+ resource "stackit_network_interface" "wan" {
39+ name = " vtnet0_wan"
40+ project_id = stackit_resourcemanager_project. this . project_id
41+ network_id = stackit_network. wan . network_id
42+ security = false
43+ }
44+
45+ resource "stackit_public_ip" "wan-ip" {
46+ project_id = stackit_resourcemanager_project. this . project_id
47+ network_interface_id = stackit_network_interface. wan . network_interface_id
48+ }
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # ############
2+ # # NETWORK ##
3+ # ############
4+
5+ resource "stackit_network" "lan" {
6+ project_id = stackit_resourcemanager_project. this . project_id
7+ name = " lan_network"
8+ routed = true
9+ }
10+
11+ resource "stackit_network_interface" "lan" {
12+ name = " vtnet1_lan"
13+ project_id = stackit_resourcemanager_project. this . project_id
14+ network_id = stackit_network. lan . network_id
15+ security = false
16+ }
File renamed without changes.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments