This commit introduces the foundational Infrastructure-as-Code for provisioning a test environment on Hetzner Cloud. It defines server nodes, private networking, comprehensive firewalls, and includes documentation on resource lifecycle and safe configuration practices.
11 lines
233 B
HCL
11 lines
233 B
HCL
locals {
|
|
name_prefix = "iklim-${var.environment}"
|
|
|
|
swarm_private_ip = "10.10.10.11"
|
|
db_private_ip = "10.10.20.11"
|
|
|
|
network_cidr = "10.10.0.0/16"
|
|
app_subnet_cidr = "10.10.10.0/24"
|
|
db_subnet_cidr = "10.10.20.0/24"
|
|
}
|