From 335254b7b218ef09d24d8689bb3164ee53d81ae2 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 28 Feb 2026 14:19:00 +0000 Subject: [PATCH] fix: remove cross-variable validation from worker lists Terraform variable validation blocks can only reference the variable itself, so list length checks against worker_count were removed to restore init/plan. --- terraform/variables.tf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/terraform/variables.tf b/terraform/variables.tf index 8c83b54..0510ca6 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -67,22 +67,12 @@ variable "worker_cores" { type = list(number) default = [4, 4, 3] description = "vCPU cores for each worker VM" - - validation { - condition = length(var.worker_cores) == var.worker_count - error_message = "worker_cores list length must equal worker_count." - } } variable "worker_memory_mb" { type = list(number) default = [12288, 12288, 12288] description = "Memory in MB for each worker VM" - - validation { - condition = length(var.worker_memory_mb) == var.worker_count - error_message = "worker_memory_mb list length must equal worker_count." - } } variable "control_plane_disk_size" {