Skip to content

Commit e528577

Browse files
committed
fix: missing lb rule so load balancers become healthy
Signed-off-by: Ali Mukadam <[email protected]>
1 parent 1cd9e4c commit e528577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/network/nsg-workers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ locals {
6161
},
6262
} : {},
6363

64-
var.allow_node_port_access && local.int_lb_nsg_enabled ? {
64+
local.int_lb_nsg_enabled ? {
6565
"Allow TCP ingress to workers from internal load balancers" : {
6666
protocol = local.tcp_protocol, port_min = local.node_port_min, port_max = local.node_port_max, source = local.int_lb_nsg_id, source_type = local.rule_type_nsg,
6767
},
@@ -70,7 +70,7 @@ locals {
7070
},
7171
} : {},
7272

73-
var.allow_node_port_access && local.pub_lb_nsg_enabled ? {
73+
local.pub_lb_nsg_enabled ? {
7474
"Allow TCP ingress to workers from public load balancers" : {
7575
protocol = local.tcp_protocol, port_min = local.node_port_min, port_max = local.node_port_max, source = local.pub_lb_nsg_id, source_type = local.rule_type_nsg,
7676
},

0 commit comments

Comments
 (0)