Skip to content

Commit

Permalink
CLD-8806: Fix thanos grpc route53 record (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrleite authored Jan 22, 2025
1 parent d05aa20 commit c346d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/eks-customer/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_route53_record" "internal" {
for_each = toset(local.enabled_dns_names)

zone_id = data.aws_route53_zone.internal.zone_id
name = "${module.eks.cluster_name}.${each.value}"
name = strcontains(each.value, "grpc") ? "${module.eks.cluster_name}-${each.value}" : "${module.eks.cluster_name}.${each.value}"
type = "CNAME"
ttl = 300
records = strcontains(each.value, "grpc") ? [data.aws_lb.thanos-query-grpc.dns_name] : [data.aws_lb.internal.dns_name]
Expand Down

0 comments on commit c346d1f

Please sign in to comment.