As an update to this question, Is there a way to g...
# golang
c
As an update to this question, Is there a way to get/lookup the load balancer resource after creating a kubernetess ingress? the
lb.LookupLoadBalancer
needs the
Name
to be of type string, however, the
Name
the Kubernetes ingress created for me is of type
Pulumi.StringOutput
. Below is how I get the Name
Copy code
ingressUrlName := ingress.Status.ApplyT(
		func(status interface{}) string {
			return *status.(*networkingv1.IngressStatus).LoadBalancer.Ingress[0].Hostname
		}).(pulumi.StringOutput)
1