Hey, I was wondering if there's a way to retrieve ...
# automation-api
h
Hey, I was wondering if there's a way to retrieve the parent and children of a resource. Specifically, I've created a ComponentResource and I'm curious about how to find out what children it has. Any ideas?
l
Have you taken a look at the resource search API? https://www.pulumi.com/docs/pulumi-cloud/cloud-rest-api/#resource-search You can write a query
parent:URN
to find all resources that share a parent.
h
Thanks, but I'm using a local file as the backend. It seems like these APIs aren't working. And is it possible to obtain the connections between resources prior to their deployment?