https://pulumi.com logo
#general
Title
# general
p

plain-florist-63302

10/02/2023, 5:39 PM
I'm using a DBInstance custom resource on EKS to create a database instance (https://www.pulumi.com/registry/packages/kubernetes/api-docs/apiextensions/customresource/). This works, and I can use "kubectl describe dbinstance" to get the status of the database instance, but I can't figure out how to get this information from within pulumi. Using the get() method on the DBInstance returns the id and urn of the resource. How do I get the status of the created resource from this? I need to get the database server endpoint in order to do anything useful with the instance.