https://pulumi.com logo
#python
Title
s

shy-football-10348

12/15/2020, 11:38 PM
is it possible to create an empty folder in an s3 bucket with pulumi
b

billowy-army-68599

12/15/2020, 11:54 PM
i believe you can do it with a bucketobject resource
p

purple-arm-63328

12/16/2020, 6:06 PM
Folders don't really exist in S3. They are a naming convention.
f

faint-whale-59078

12/17/2020, 9:19 AM
@shy-football-10348 In S3 there's no concept of folders. even though the management console and other tools do represent
/
in key names as a folder separator. Furthermore, creating a folder will cost you for the necessary api calls and the data and metadata storage. In your deployment, simply upload your data with a key name that contains the full path.