Hey team! any guide on how can we create folders ...
# general
f
Hey team! any guide on how can we create folders in gcp bucket using pulumi??
f
Create an object and include a
/
in the name. folders don't exist: https://cloud.google.com/storage/docs/folders
If you create an empty folder using the Cloud console, Cloud Storage creates a zero-byte object as a placeholder. For example, if you create a folder called
folder
in a bucket called
my-bucket
, a zero- byte object called
<gs://my-bucket/folder/>
is created. You can find this object when you run
gsutil ls
.
f
@freezing-van-87649 Got it. Thankyou.
👍 1
f
AWS S3 works the same way, and I would guess any other implementations out there do it that way as well