pulumi / pulumi-gcp

A Google Cloud Platform (GCP) Pulumi resource package, providing multi-language access to GCP
Apache License 2.0
183 stars 53 forks source link

Add `getImageList` to pulumi_gcp.compute #973

Open Zviger opened 1 year ago

Zviger commented 1 year ago

Hello!

Issue details

I'm working on creating infrastructures in AWS, GCP and Azure and in my workflow I need to get list of instance's images. I already done with this part for AWS (it provides function to get list of AMIs) and wanted to do the same for GCP, but I faced a problem, that current version of this plugin doesn't have such functionality. As I saw, GCP API has such endpoint. It will be helpful, I think, if pulumi_gcp will have it (also, mb, MachineImage and something the same needs to be updated in the same way)

Affected area/feature

danielrbradley commented 1 year ago

Hi @Zviger thanks for the suggestion. This would need to be implemented in the underlying provider, then would be automatically picked up here on the next release.

Zviger commented 1 year ago

@danielrbradley hi! Thank u for ur answer) Should I create an additional ticket in provided repo or ur team will take care of it?

mikhailshilkov commented 1 year ago

@Zviger It would be great if you open a ticket upstream and reference it from this issue. Thank you in advance!

Zviger commented 1 year ago

I hope I did it in the right way)