47 lines
1.1 KiB
HCL

variable "hcloud_token" {
type = string
sensitive = true
description = "Hetzner Cloud API token for the test project"
}
variable "location" {
type = string
default = "fsn1"
description = "Hetzner Cloud datacenter location"
}
variable "image" {
type = string
default = "rocky-10"
description = "Server image"
}
variable "server_type_app" {
type = string
default = "cpx42"
description = "Hetzner server type for the App node"
}
variable "server_type_db" {
type = string
default = "cpx42"
description = "Hetzner server type for the DB node"
}
variable "admin_ssh_public_key_path" {
type = string
default = "~/.ssh/id_ed25519.pub"
description = "Path to the admin SSH public key file"
}
variable "admin_allowed_cidrs" {
type = list(string)
description = "CIDR list for admin SSH and management port access"
}
variable "monitoring_cidrs" {
type = list(string)
default = ["91.99.57.252/32"]
description = "CIDR list for the Uptime Kuma monitoring server (ICMP ping allowed)"
}