From 2424956ce568156b3b90052e1ebfd1f519c21027 Mon Sep 17 00:00:00 2001 From: shirba Date: Thu, 30 Apr 2026 08:46:37 +0000 Subject: [PATCH] fix(CGNSPC-1624): Block Extended Zone deployment for R81.10 and below --- modules/high-availability/variables.tf | 4 ++++ modules/single-gateway/variables.tf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/modules/high-availability/variables.tf b/modules/high-availability/variables.tf index 96d3eb2..9181b43 100644 --- a/modules/high-availability/variables.tf +++ b/modules/high-availability/variables.tf @@ -139,6 +139,10 @@ variable "disk_size" { variable "os_version" { description = "GAIA OS version." type = string + validation { + condition = var.extended_zone == "None" || var.os_version != "R8110" + error_message = "Extended Zones are not supported for R81.10 (R8110). Please use a higher version or set extended_zone to 'None'." + } } variable "vm_os_sku" { diff --git a/modules/single-gateway/variables.tf b/modules/single-gateway/variables.tf index cd64857..f850cf9 100644 --- a/modules/single-gateway/variables.tf +++ b/modules/single-gateway/variables.tf @@ -146,6 +146,10 @@ variable "disk_size" { variable "os_version" { description = "GAIA OS version." type = string + validation { + condition = var.extended_zone == "None" || var.os_version != "R8110" + error_message = "Extended Zones are not supported for R81.10 (R8110). Please use a higher version or set extended_zone to 'None'." + } } variable "vm_os_sku" {