Skip to content

Commit

Permalink
fix: missing lb rule so load balancers become healthy
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Mukadam <[email protected]>
  • Loading branch information
hyder committed Jul 22, 2023
1 parent 1cd9e4c commit e528577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/network/nsg-workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ locals {
},
} : {},

var.allow_node_port_access && local.int_lb_nsg_enabled ? {
local.int_lb_nsg_enabled ? {
"Allow TCP ingress to workers from internal load balancers" : {
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,
},
Expand All @@ -70,7 +70,7 @@ locals {
},
} : {},

var.allow_node_port_access && local.pub_lb_nsg_enabled ? {
local.pub_lb_nsg_enabled ? {
"Allow TCP ingress to workers from public load balancers" : {
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,
},
Expand Down

0 comments on commit e528577

Please sign in to comment.