Files
server/infra/modules/prod/variables.tf
T
2026-07-20 22:45:43 +01:00

40 lines
1017 B
Terraform

variable "server_type" {
description = "Server type for prod (Traefik, Websites, Bitwarden, RustDesk, status page)."
type = string
}
variable "image" {
description = "OS image used for the server."
type = string
}
variable "location" {
description = "Hetzner Cloud datacenter location."
type = string
}
variable "ssh_key_ids" {
description = "IDs of the Hetzner Cloud SSH keys to install on the server."
type = list(string)
}
variable "network_id" {
description = "ID of the private network to attach prod to."
type = string
}
variable "private_ip" {
description = "Private network IP for prod."
type = string
}
variable "allowed_ssh_source_ips" {
description = "CIDRs allowed to reach port 22 on prod. Set by the root module to the vpn server's public IP."
type = list(string)
}
variable "network_ip_range" {
description = "CIDR of the private network, allowed through the firewall for traffic from dev."
type = string
}