This message was deleted.
# general
s
This message was deleted.
p
take a look at part called “Look up an Existing Instance Resource” in the API docs
+ check available functions in each module e.g. https://www.pulumi.com/registry/packages/gcp/api-docs/compute/#functions
r
ah yes... thanks man! i found it... lookup is done by using the specific functions in the modules, for my Azure network it is
network.get_virtual_network
. I wasnt aware of that
still thinking too much terraform and less programming
p
you’re gonna adjust quickly - trust me 😉
r
i am already loving it, configuration, secret handling and applying conditional logic is much easier
w
Also, in case it helps, if those other resources are managed by Pulumi then stack references can be used to get information about those resources from the other stack(s) https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences