lemon-wire-6930508/10/2021, 3:46 AM
const bucketId = "<gs://my-bucket/my-file.json>"; const testData = gcp.storage.BucketObject.get("object-test", bucketId); console.log(testData);
SO it seems that Pulumi does not like the value I'm giving it as the Id. Using
Preview failed: resource '<gs://my-bucket/my-file.json>' does not exist
I can however do:
Which works fine. The bucket object was created outside of Pulumi and is private. Any ideas what value I should be using as the ID?
gsutil cat <gs://my-bucket/my-file.json>
modern-napkin-9670708/31/2021, 12:44 PM