Skip to content

Commit

Permalink
feat: update api attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjianli authored Nov 14, 2023
1 parent 8610c39 commit 819bc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "aws_route53_record" "hms_readwrite" {
zone_id = aws_route53_zone.apiary[0].id
type = "CNAME"
ttl = "300"
records = kubernetes_service.hms_readwrite[0].load_balancer_ingress.*.hostname
records = kubernetes_service.hms_readwrite[0].status.0.load_balancer.0.ingress.*.hostname
}

resource "aws_route53_record" "hms_readonly" {
Expand All @@ -56,5 +56,5 @@ resource "aws_route53_record" "hms_readonly" {
zone_id = aws_route53_zone.apiary[0].id
type = "CNAME"
ttl = "300"
records = kubernetes_service.hms_readonly[0].load_balancer_ingress.*.hostname
records = kubernetes_service.hms_readonly[0].status.0.load_balancer.0.ingress.*.hostname
}

0 comments on commit 819bc4d

Please sign in to comment.