From bf64a3c4725b03775454828c981befc62b536e31 Mon Sep 17 00:00:00 2001 From: githubjianli <51385385+githubjianli@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:43:51 -0800 Subject: [PATCH] feat: fix attribute name --- ouputs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ouputs.tf b/ouputs.tf index 5a811df..98c5a8e 100644 --- a/ouputs.tf +++ b/ouputs.tf @@ -1,9 +1,9 @@ output "hms_readonly_load_balancers" { - value = var.hms_instance_type == "k8s" && var.enable_vpc_endpoint_services ? kubernetes_service.hms_readonly[0].load_balancer_ingress.*.hostname : [] + value = var.hms_instance_type == "k8s" && var.enable_vpc_endpoint_services ? kubernetes_service.hms_readonly[0].status.0.load_balancer.0.ingress.0.hostname : [] } output "hms_readwrite_load_balancers" { - value = var.hms_instance_type == "k8s" && var.enable_vpc_endpoint_services ? kubernetes_service.hms_readwrite[0].load_balancer_ingress.*.hostname : [] + value = var.hms_instance_type == "k8s" && var.enable_vpc_endpoint_services ? kubernetes_service.hms_readwrite[0].status.0.load_balancer.0.ingress.0.hostname : [] } output "managed_database_host" {