lemon-wire-69305
08/10/2021, 3:46 AMconst bucketId = "<gs://my-bucket/my-file.json>";
const testData = gcp.storage.BucketObject.get("object-test", bucketId);
console.log(testData);
Running pulumi up
gives me Preview failed: resource '<gs://my-bucket/my-file.json>' does not exist
SO it seems that Pulumi does not like the value I'm giving it as the Id. Using gsutil
I can however do:
gsutil cat <gs://my-bucket/my-file.json>
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?modern-napkin-96707
08/31/2021, 12:44 PM