This message was deleted.
# general
s
This message was deleted.
h
https://www.pulumi.com/registry/packages/digitalocean/api-docs/loadbalancer/#ip_python — this is for Python and for DigitalOcean, but your specific case will be similar. Once you create the load balancer, you can access the IP from the output
a
but i am creating the LB through a Service type, using Service from pulumi https://www.pulumi.com/registry/packages/kubernetes/api-docs/core/v1/service/
You will have to query for that type of output
a
i think i found the way, basically its on the status output, thanks
Copy code
pulumi.export("ip", <service_name>.status.load_balancer.ingress[0].ip)
🙌 1
Thanks
👍 1