chore: Restructured infra modules

This commit is contained in:
2026-07-10 20:54:22 +01:00
parent d0d1385bf4
commit a7cfcc33ce
19 changed files with 473 additions and 230 deletions
+8 -8
View File
@@ -17,33 +17,33 @@ variable "server_image" {
}
variable "dev_server_type" {
description = "Server type for dev (Gitea + Runner)."
description = "Server type for dev"
type = string
default = "cx22"
}
variable "prod_server_type" {
description = "Server type for prod (Traefik, Websites, Database, Bitwarden, Misc, Tracking, Rustdesk)."
description = "Server type for prod"
type = string
default = "cx32"
default = "cx22"
}
variable "vpn_server_type" {
description = "Server type for vpn (OpenVPN + TraefikVPN)."
description = "Server type for vpn"
type = string
default = "cx22"
}
variable "dev_volume_size" {
description = "Size in GB of the volume attached to dev (disk2 in architecture.md)."
description = "Size in GB of the volume attached to dev"
type = number
default = 50
default = 20
}
variable "prod_volume_size" {
description = "Size in GB of the volume attached to prod (disk1 in architecture.md)."
description = "Size in GB of the volume attached to prod (disk1 in docs/architecture.md)."
type = number
default = 50
default = 20
}
variable "network_ip_range" {