Q on `AWS S3 Bucket`: <https://www.pulumi.com/regi...
# general
a
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
a
a
tx! 👍
l
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