2026-06-14 12:03:01 +02:00
|
|
|
variable "name" {
|
|
|
|
|
description = "Server name (and hostname)"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "server_type" {
|
2026-06-14 18:37:54 +02:00
|
|
|
description = "Hetzner server type, e.g. cx23 (x86) or cax11 (ARM)"
|
2026-06-14 12:03:01 +02:00
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "location" {
|
|
|
|
|
description = "Hetzner location, e.g. hel1"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "image" {
|
|
|
|
|
description = "OS image slug, e.g. debian-13"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "ansible_ssh_pubkey" {
|
|
|
|
|
description = "Public SSH key provisioned for the ansible user via cloud-init"
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "ssh_admin_cidrs" {
|
|
|
|
|
description = "Source CIDRs allowed to reach SSH (e.g. ubongo's address/32)"
|
|
|
|
|
type = list(string)
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-14 17:38:51 +02:00
|
|
|
variable "public_web" {
|
|
|
|
|
description = "Open the public web/NetBird ports (80/443 TCP, 3478 UDP) to the internet"
|
|
|
|
|
type = bool
|
|
|
|
|
default = false
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-14 12:03:01 +02:00
|
|
|
variable "labels" {
|
|
|
|
|
description = "Hetzner resource labels (metadata only)"
|
|
|
|
|
type = map(string)
|
|
|
|
|
default = {}
|
|
|
|
|
}
|