https://pulumi.com logo
Title
e

early-plastic-49211

11/07/2022, 4:39 PM
Hi all, is there a way to use https://www.pulumi.com/docs/intro/concepts/resources/get/ with a resource that might not exist? I want to conditionally create a private endpoint on an internal load balancer thats created with Kubernetes, and due to the order of creation of resources, the first time the stack is created, the load balancer will not exist and I'd like it to just skip the part where it creates a private endpoint instead of failing.
e

echoing-dinner-19531

11/07/2022, 6:15 PM
Not currently, but we have an issue tracking this: https://github.com/pulumi/pulumi/issues/3388 Be sure to add a thumbs up reaction, it helps with prioritization.
e

early-plastic-49211

11/07/2022, 6:58 PM
Okay, thank you!