fix(fullpipe): модификатор edge_net шлёт ALB/VS/qos целиком — иначе modify с null сбрасывает needEnableAVI в false
This commit is contained in:
@@ -12,5 +12,11 @@ resource "nubes_vc_nsxt_network" "edge_net" {
|
|||||||
# SNAT: внешний IP из организации; "no-needed" — выключить SNAT
|
# SNAT: внешний IP из организации; "no-needed" — выключить SNAT
|
||||||
ip_space_name = var.org_ip_space_name
|
ip_space_name = var.org_ip_space_name
|
||||||
|
|
||||||
|
# ⚠ Обязательно слать create-поля целиком: modify с null сбрасывает их в дефолт
|
||||||
|
# (иначе needEnableAVI упадёт в false после create=true).
|
||||||
|
qos_profile = var.nsxt_qos_profile
|
||||||
|
need_enable_avi = var.nsxt_need_enable_avi
|
||||||
|
virtual_services_count = var.nsxt_virtual_services_count
|
||||||
|
|
||||||
depends_on = [nubes_vc_org_ip_space.org_ips]
|
depends_on = [nubes_vc_org_ip_space.org_ips]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,6 +102,12 @@ variable "nsxt_second_dns" {
|
|||||||
description = "Второй DNS"
|
description = "Второй DNS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "nsxt_qos_profile" {
|
||||||
|
type = string
|
||||||
|
default = "QoS-100Mbit"
|
||||||
|
description = "Профиль пропускной способности Edge"
|
||||||
|
}
|
||||||
|
|
||||||
# --- vc_org (Организация в Cloud Director) — модификатор ip_space ---
|
# --- vc_org (Организация в Cloud Director) — модификатор ip_space ---
|
||||||
|
|
||||||
variable "org_ip_space_name" {
|
variable "org_ip_space_name" {
|
||||||
|
|||||||
Reference in New Issue
Block a user