lemon-wire-69305
08/02/2021, 11:25 PMconst bucketHome = new gcp.storage.Bucket("bucket-web", {
name: bucketHomeName,
location: hostArea,
});
const bucketFrontendDeploys = new gcp.storage.Bucket("bucket-frontend-deploys", {
name: pulumi.interpolate`${bucketHome.name}/deploy/frontend`,
location: hostArea,
});
But Google doesn't allow slashes in a bucket name, so although bucket-web
will be created fine, the second bucket-frontend-deploys
will give back an error googleapi: Error 400: Invalid bucket name
when I run pulumi up
. That leaves me with the question: How exactly do you created nested buckets?!
It feels like there's something simple that I'm missing. Any pointers would be much appreciated.abundant-van-48522
08/03/2021, 7:21 AM