We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b67c80b commit ebcc70cCopy full SHA for ebcc70c
lb.tf
@@ -13,7 +13,7 @@ module "lb" {
13
additional_networks = var.additional_lb_networks
14
use_existing_vips = var.use_existing_vips
15
16
- router_backends = module.infra.ip_addresses[*]
+ router_backends = var.infra_count > 0 ? module.infra.ip_addresses[*] : module.worker.ip_addresses[*]
17
bootstrap_node = var.bootstrap_count > 0 ? cidrhost(var.privnet_cidr, 10) : ""
18
lb_cloudscale_api_secret = var.lb_cloudscale_api_secret
19
hieradata_repo_user = var.hieradata_repo_user
0 commit comments