big-apartment-95438
03/11/2021, 5:16 PMconst currentLoadBalancer = pulumi.all([service.status.loadBalancer.ingress[0].hostname]).apply(([hostname]) => {
return aws.lb.getLoadBalancer({
name: hostname.split("-")[0] // Get the name part from the hostname (before the first hyphen)
});
});
but hostname is undefined 😞
Is there a better way to find a load balancer created from a helm chart?