https://pulumi.com logo
#google-cloud
Title
# google-cloud
b

brainy-kilobyte-81765

04/12/2022, 9:51 AM
Hi all, Need some help I am trying to get a list of existing vm instances that are deployed through pulumi. In the google-native docs it says I need to do a list() request but I can't see how that is done. https://www.pulumi.com/registry/packages/google-native/api-docs/compute/v1/getinstance/
b

billowy-army-68599

04/12/2022, 2:01 PM
this isn't possible with Pulumi's SDKs, you'd need to use the Google SDK. whats the reason you need to list all instances? this is more of an imperative action
b

brainy-kilobyte-81765

04/12/2022, 2:32 PM
Perfect thanks, I was thinking that was the case but just wanted to make sure I wasn't missing anything