- Newest
- Most votes
- Most comments
The error message you're encountering is related to the naming conventions for S3 buckets. The pattern provided in the error message is a specific requirement for the DestinationBucketParameter in your AWS stack template. This pattern ensures that the bucket name adheres to Amazon S3 naming rules.
To comply with this pattern, your bucket name should:
- Start and end with a letter or number
- Be between 3 and 63 characters long
- Contain only lowercase letters, numbers, hyphens (-), and periods (.)
- Not start with "xn--" or "sthree-"
- Not end with "-s3alias" or "--ol-s3"
The bucket name you use for the DestinationBucketParameter should be just the bucket name itself, not the full ARN. For example, if your bucket is named "my-destination-bucket-2023", you would use that as the parameter value.
If you've already created the bucket and are trying to reference it, make sure you're using the exact bucket name as it appears in your S3 console. If you're creating a new bucket as part of this stack, ensure the name you choose follows these rules.
Remember that S3 bucket names must be globally unique across all AWS accounts, so you might need to add some unique identifiers to your bucket name if a simpler name is already taken.
Sources
Can we have a bucket name: \b-ds.n | AWS re:Post
RetrievalFlowNodeS3Configuration - Amazon Bedrock
S3Object - Migration Hub Strategy Recommendations
