Hi, quick question regarding S3 bucket creation. I...
# aws
b
Hi, quick question regarding S3 bucket creation. I've been creating/destroying the same stack frequently... is there a way when creating a bucket it adds a random string to the end, like cloudformation does? I suppose I could add a random string to the config each time, but was wondering if there was a built-in for this? Thanks,
I think I just need to use
bucket_prefix
instead of
bucket
g
If you omit
bucket
, Pulumi will do this for you automatically and use the logical name that you provide as the bucket prefix.
Pulumi's default behavior is to add a random suffix to all resources.
b
Nice one ^ thanks