# general


03/11/2021, 5:16 PM
When getting an AWS LoadBalancer created by a helm chart all I have found is the following: But I am attempting to get the ARN of the LoadBalancer and not the hostname or ip :S So I tried to do the following:
Copy code
const currentLoadBalancer = pulumi.all([service.status.loadBalancer.ingress[0].hostname]).apply(([hostname]) => {
        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?
the spec.type of the service is ofcourse LoadBalancer When getting the service information via Kubectl I see the hostname
FYI: the LoadBalancer is a Network Loadbalancer ALSO FYI: The chart is in a namespace