Join Slack
Powered by
This message was deleted.
# google-cloud
s
sparse-intern-71089
03/23/2023, 5:55 AM
This message was deleted.
s
stocky-restaurant-98004
03/23/2023, 2:06 PM
If you're working with a bunch of resources, this blog post and the accompanying code should be helpful:
https://www.pulumi.com/blog/google-cloud-pulumi-import-account-scraper/
stocky-restaurant-98004
03/23/2023, 2:10 PM
If you're doing a small number of resources, the ID is always whatever the docs say for the Import command.
g
gifted-room-26715
03/24/2023, 4:39 AM
@stocky-restaurant-98004
How do I get the ID of a resource using pulumi import? This is what I'm trying to figure out.
s
stocky-restaurant-98004
03/24/2023, 1:47 PM
Check the docs for the resource in question. Example:
https://www.pulumi.com/registry/packages/gcp/api-docs/compute/network/#import
Open in Slack
Previous
Next