professional-service/examples/vpn-usecases/modules/stackit-sna-with-debug-machine
Mauritz Uphoff 91efc3cd88
All checks were successful
Default CI / Check for Open TODOs (pull_request) Successful in 26s
Default CI / Secret Scanner (TruffleHog) (pull_request) Successful in 47s
Default CI / Pre-Commit Hooks (pull_request) Successful in 2m28s
fix(cloud-init): remove license header for cloud-init files
2026-06-26 08:56:36 +02:00
..
debug-user.yml fix(cloud-init): remove license header for cloud-init files 2026-06-26 08:56:36 +02:00
main.tf examples: fmt examples 2026-06-23 13:14:28 +02:00
outputs.tf examples: fmt examples 2026-06-23 13:14:28 +02:00
provider.tf examples: fmt examples 2026-06-23 13:14:28 +02:00
README.md examples: fmt examples 2026-06-23 13:14:28 +02:00
variables.tf examples: fmt examples 2026-06-23 13:14:28 +02:00

SNA with test-machine module

This module is used to quickly spin up a sna with a test virtual machine. We use this module to debug vpn connectivity.

⚠️ SECURITY WARNING Be careful: By default, port security is disabled on the network interface to allow unrestricted traffic for debugging purposes. Do not use this module in a production environment.

Requirements

Name Version
stackit >=0.95.0

Providers

Name Version
stackit >=0.95.0

Modules

No modules.

Resources

Name Type
stackit_network.this resource
stackit_network_area.this resource
stackit_network_area_region.this resource
stackit_network_interface.this resource
stackit_public_ip.this resource
stackit_resourcemanager_project.this resource
stackit_server.this resource
stackit_volume.this resource

Inputs

Name Description Type Default Required
machine_availability_zone The availability zone (e.g. eu01-1) string n/a yes
machine_disk_performance_class Storage performance class string "storage_premium_perf4" no
machine_disk_size Boot volume size in GB number 20 no
machine_image_id Image UUID (Default: Debian 12) string "c751cde7-e648-4f81-9722-ce9c7848bed0" no
machine_ipv4_prefix The IPv4 prefix for the test machine's network (CIDR notation). This must be a subnet within the defined SNA network ranges. string n/a yes
machine_name name of the stackit test machine string n/a yes
machine_network_name The name of the network where the test machine will be connected. string n/a yes
machine_type Flavor of the machine string "c2i.1" no
sna_default_nameserver A list of STACKIT SNA default nameservers (IP addresses). list(string)
[
"1.1.1.1"
]
no
sna_name The name of the STACKIT Network Area (SNA). string n/a yes
sna_network_range_prefix A list of STACKIT SNA network range prefixes in CIDR notation. list(string)
[
"10.28.0.0/16"
]
no
sna_transfer_range The STACKIT SNA transfer range in CIDR notation. string "172.16.0.0/16" no
stackit_admin_email The email address of the project administrator. string n/a yes
stackit_org_id The STACKIT Organization ID (UUID). string n/a yes
stackit_project_name The name of the STACKIT project where the managed VPN and test machine will be deployed. string n/a yes

Outputs

Name Description
machine_network_ipv4 The IPv4 prefix of the machine's network.
machine_private_ipv4 The private IP address of the test machine.
machine_public_ip The public IP address of the test machine.
project_id The ID of the STACKIT project.
sna_id The ID of the STACKIT Network Area.
sna_network_range The network ranges (sna-ipv4) of the STACKIT Network Area.