cuddly-tailor-40542
11/01/2021, 3:48 PMlb.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
ingressUrlName := ingress.Status.ApplyT(
func(status interface{}) string {
return *status.(*networkingv1.IngressStatus).LoadBalancer.Ingress[0].Hostname
}).(pulumi.StringOutput)