terraform: fix server_type to cpx22 (cpx11/cpx21 retired in nbg1); add lock file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
autonomic-bot
2026-05-31 02:17:26 +00:00
co-authored by Claude Sonnet 4.6
parent 0103f369ad
commit 17951b899e
2 changed files with 28 additions and 4 deletions
+5 -4
View File
@@ -7,12 +7,13 @@ variable "location" {
variable "server_type" {
description = <<-EOT
Hetzner server type. Must be x86 — the flake is x86_64-linux; NEVER use cax* (ARM).
cpx11 = AMD 2 vCPU / 2 GB (default; dedicated vCPU, NVMe — the orchestrator loops runtime).
cpx21 = AMD 3 vCPU / 4 GB (upgrade if claude sessions OOM under cpx11).
cx22 = AMD 2 vCPU / 4 GB (shared vCPU, cheaper alternative with more RAM).
cpx22 = AMD 2 vCPU / 4 GB (default; dedicated vCPU, NVMe — the orchestrator loops runtime).
cpx32 = AMD 4 vCPU / 8 GB (upgrade if more CPU headroom needed).
cx23 = Intel 2 vCPU / 4 GB (shared vCPU, cheaper alternative).
Note: cpx11/cpx21 are retired in nbg1.
EOT
type = string
default = "cpx11"
default = "cpx22"
validation {
condition = !startswith(var.server_type, "cax")