Skip to content

Commit

Permalink
fix: readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjianli authored Nov 14, 2023
1 parent 6f6a4ed commit 0c1615f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s-readonly.tf
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,5 @@ resource "kubernetes_service" "hms_readonly" {

data "aws_lb" "k8s_hms_ro_lb" {
count = var.hms_instance_type == "k8s" && var.enable_vpc_endpoint_services ? 1 : 0
name = split("-", split(".", kubernetes_service.hms_readonly.status.0.load_balancer.0.ingress.0.hostname).0).0
name = split("-", split(".", kubernetes_service.hms_readonly[0].status.0.load_balancer.0.ingress.0.hostname).0).0
}

0 comments on commit 0c1615f

Please sign in to comment.