Skip to content

Commit

Permalink
Merge pull request #83 from appuio/fix/floating-ip-no-lbs
Browse files Browse the repository at this point in the history
Revert indexing changes from #81
  • Loading branch information
haasad authored May 16, 2024
2 parents 3826097 + 6aa9ce9 commit 1b62b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lb.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "lb" {
source = "git::https://github.com/appuio/terraform-modules.git//modules/vshn-lbaas-cloudscale?ref=v6.1.0"
source = "git::https://github.com/appuio/terraform-modules.git//modules/vshn-lbaas-cloudscale?ref=v6.1.1"

node_name_suffix = local.node_name_suffix
cluster_id = var.cluster_id
Expand Down
6 changes: 3 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
output "dns_entries" {
value = templatefile("${path.module}/templates/dns.zone", {
"node_name_suffix" = local.node_name_suffix,
"api_vip" = var.lb_count != 0 ? split("/", module.lb.api_vip.network)[0] : ""
"router_vip" = var.lb_count != 0 ? split("/", module.lb.router_vip.network)[0] : ""
"egress_vip" = var.lb_count != 0 ? split("/", module.lb.nat_vip.network)[0] : ""
"api_vip" = var.lb_count != 0 ? split("/", module.lb.api_vip[0].network)[0] : ""
"router_vip" = var.lb_count != 0 ? split("/", module.lb.router_vip[0].network)[0] : ""
"egress_vip" = var.lb_count != 0 ? split("/", module.lb.nat_vip[0].network)[0] : ""
"internal_vip" = cidrhost(local.privnet_cidr, 100),
"masters" = module.master.ip_addresses,
"cluster_id" = var.cluster_id,
Expand Down

0 comments on commit 1b62b0a

Please sign in to comment.