k-mitevski / terraform-k8s

Example code for provisioning Kubernetes clusters on EKS using Terraform.
137 stars 191 forks source link

when we deploy ingress alb using helm, how to retrive the alb url using terraform? #8

Open reddy2018 opened 1 year ago

reddy2018 commented 1 year ago

is there any way to retrive the load balancer utl(DNS name) using terraform output? when we deploy through helm

k-mitevski commented 1 year ago

@reddy2018 You can pull the data using a data source and output. https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/service https://stackoverflow.com/questions/69720035/aws-nlb-over-helm-in-terraform-how-to-find-dns-name