fix(fullpipe): ALB/VS меняются только через модификатор (edge create неизменяем)
This commit is contained in:
@@ -14,8 +14,8 @@ resource "nubes_vc_nsxt_network" "edge_net" {
|
|||||||
ip_space_name = var.org_ip_space_name
|
ip_space_name = var.org_ip_space_name
|
||||||
|
|
||||||
qos_profile = var.nsxt_qos_profile
|
qos_profile = var.nsxt_qos_profile
|
||||||
need_enable_avi = var.nsxt_need_enable_avi
|
need_enable_avi = var.nsxt_network_need_enable_avi
|
||||||
virtual_services_count = var.nsxt_virtual_services_count
|
virtual_services_count = var.nsxt_network_virtual_services_count
|
||||||
|
|
||||||
depends_on = [nubes_vc_org_ip_space.org_ips]
|
depends_on = [nubes_vc_org_ip_space.org_ips]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,14 +74,14 @@ variable "nsxt_vdc_type" {
|
|||||||
|
|
||||||
variable "nsxt_need_enable_avi" {
|
variable "nsxt_need_enable_avi" {
|
||||||
type = bool
|
type = bool
|
||||||
default = true
|
default = false
|
||||||
description = "Включить AVI Load Balancer (обязательно для Штурвала)"
|
description = "Включить AVI Load Balancer при создании Edge (неизменяемо после создания)"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "nsxt_virtual_services_count" {
|
variable "nsxt_virtual_services_count" {
|
||||||
type = number
|
type = number
|
||||||
default = 3
|
default = 1
|
||||||
description = "Кол-во виртуальных сервисов, резервируемых на AVI (1..4; для Штурвала ≥ 3)"
|
description = "Кол-во виртуальных сервисов на AVI при создании Edge (1..4; неизменяемо)"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "nsxt_ip_addr_pool" {
|
variable "nsxt_ip_addr_pool" {
|
||||||
@@ -108,6 +108,18 @@ variable "nsxt_qos_profile" {
|
|||||||
description = "Профиль пропускной способности Edge"
|
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 ---
|
# --- vc_org (Организация в Cloud Director) — модификатор ip_space ---
|
||||||
|
|
||||||
variable "org_ip_space_name" {
|
variable "org_ip_space_name" {
|
||||||
|
|||||||
Reference in New Issue
Block a user