From 819bc4df4f993a6bc75cfed0cb758de7adf80da6 Mon Sep 17 00:00:00 2001 From: githubjianli <51385385+githubjianli@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:59:45 -0800 Subject: [PATCH] feat: update api attributes --- route53.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/route53.tf b/route53.tf index 587ef3a..a994b71 100644 --- a/route53.tf +++ b/route53.tf @@ -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" { @@ -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 }