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" {