Hi all, I'm struggling trying to get started with ...
# google-cloud
Hi all, I'm struggling trying to get started with pulumi. I've started off by trying to import some of my existing infra (google-native) but it's failing for me. I tried to go take a look at the docs here https://www.pulumi.com/registry/packages/google-native/api-docs/https://www.pulumi.com/registry/packages/google-native/api-docs/ but when I click on Bucket I get a 404.
Hi! The link in your message looks broken - these are two links in one. Did you copy it from the browser? What was the previous page?
Sorry, not sure what happened there. That link (https://www.pulumi.com/registry/packages/google-native/api-docs/) does work but when I try to click to the specific docs about the bucket (https://www.pulumi.com/registry/packages/google-native/api-docs/compute/v1/bucket) I get a 404.
Testing around some more it seems that there are some things in the filterable tree that aren't shown when you drill down manually. Bucket for example. Not sure what the difference between
is but the first isn't actually there and the second is.
has been depreciated in favor of
Bucket works for me… where exactly are you clicking? Could you share a screenshot please?
also, you can see there that it's under compute/v1 but if i navigate there (https://www.pulumi.com/registry/packages/google-native/api-docs/compute/v1/) it doesn't have bucket.
Oh, it should be under storage. There may be a bug in the tree search.
ahh great. seems it's just missing from compute but it shows up there in the search tree on the left
as can be seen in the screenshot above
this works fine for me though, thanks
though I don't see any docs in there that would help with figuring out why i can't import
One possible step is to create a new Bucket with Pulumi and see its ID (
pulumi stack export
strangely that's the part that threw me off the most:
Copy code
❯ p stack output
Current stack outputs (1):
    OUTPUT          VALUE
    bucketSelfLink  <https://www.googleapis.com/storage/v1/b/my-bucket-8099773>
the actual links for storage buckets is like above but
when I used a storage link I got this instead
error: Preview failed: Import is not yet implemented