fix(fullpipe): ALB/VS меняются только через модификатор (edge create неизменяем)

This commit is contained in:
Repinoid
2026-09-22 18:23:07 +03:00
parent ca928b1e4b
commit 7a6e3bd1e5
2 changed files with 18 additions and 6 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ resource "nubes_vc_nsxt_network" "edge_net" {
ip_space_name = var.org_ip_space_name
qos_profile = var.nsxt_qos_profile
need_enable_avi = var.nsxt_need_enable_avi
virtual_services_count = var.nsxt_virtual_services_count
need_enable_avi = var.nsxt_network_need_enable_avi
virtual_services_count = var.nsxt_network_virtual_services_count
depends_on = [nubes_vc_org_ip_space.org_ips]
}
+16 -4
View File
@@ -74,14 +74,14 @@ variable "nsxt_vdc_type" {
variable "nsxt_need_enable_avi" {
type = bool
default = true
description = "Включить AVI Load Balancer (обязательно для Штурвала)"
default = false
description = "Включить AVI Load Balancer при создании Edge (неизменяемо после создания)"
}
variable "nsxt_virtual_services_count" {
type = number
default = 3
description = "Кол-во виртуальных сервисов, резервируемых на AVI (1..4; для Штурвала ≥ 3)"
default = 1
description = "Кол-во виртуальных сервисов на AVI при создании Edge (1..4; неизменяемо)"
}
variable "nsxt_ip_addr_pool" {
@@ -108,6 +108,18 @@ variable "nsxt_qos_profile" {
description = "Профиль пропускной способности Edge"
}
variable "nsxt_network_need_enable_avi" {
type = bool
default = true
description = "Включить ALB через modify Edge (Штурвал: true)"
}
variable "nsxt_network_virtual_services_count" {
type = number
default = 3
description = "Кол-во VS на AVI через modify Edge (Штурвал: ≥ 3)"
}
# --- vc_org (Организация в Cloud Director) — модификатор ip_space ---
variable "org_ip_space_name" {