This commit systematically updates all Terraform configurations, including resources, variables, and labels, to use the more generic `app` designation instead of `swarm`. This improves consistency and decouples the infrastructure naming from a specific container orchestration technology like Docker Swarm.
41 lines
896 B
HCL
41 lines
896 B
HCL
variable "hcloud_token" {
|
|
type = string
|
|
sensitive = true
|
|
description = "Hetzner Cloud API token for the prod 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 App nodes"
|
|
}
|
|
|
|
variable "server_type_db" {
|
|
type = string
|
|
default = "cpx32"
|
|
description = "Hetzner server type for DB nodes"
|
|
}
|
|
|
|
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 access"
|
|
}
|