https://pulumi.com logo
Title
a

average-article-76176

04/25/2022, 10:47 PM
Q on `AWS S3 Bucket`: https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucket/
`bucket_prefix`: Creates a unique bucket name beginning with the specified prefix. Conflicts with
bucket
.
What does _"Conflicts with
bucket
._" mean? a. If I use this param, I cannot use the
bucket
param. b. If I use this param, it works in conjunction with the
bucket
param and may invalidate
bucket
if the resulting bucket name is bigger than what's allowed by AWS. (edited) c. Something else.
l

little-cartoon-10569

04/25/2022, 10:48 PM
a
a

average-article-76176

04/25/2022, 10:49 PM
tx! 👍
l

little-cartoon-10569

04/25/2022, 10:50 PM
When naming buckets, Pulumi uses this logic: 1. If
bucket
is provided, use that as the bucket name. 2. Else if
bucket_profiex
is provided, use that and append a randomized string to eliminate name conflicts. 3. Else set
bucket_prefix
to the Pulumi name and do #2.
👍 1