Skip to content

Commit

Permalink
here also
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 10, 2024
1 parent e644fa3 commit ac91c17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ data "kubernetes_service" "istio_ingressgateway" {
}

data "aws_lb" "lb" {
count = local.is_gateway_active ? 1 : 0
name = split("-", data.kubernetes_service.istio_ingressgateway.status[0].load_balancer[0].ingress[0].hostname)[0]
depends_on = [aws_route53_zone.cluster_domain]
count = local.is_gateway_active ? 1 : 0
name = split("-", data.kubernetes_service.istio_ingressgateway.status[0].load_balancer[0].ingress[0].hostname)[0]
}

0 comments on commit ac91c17

Please sign in to comment.