C2W1L2 error

The lab is giving error "
An error occurred: Parameter validation failed:
Invalid bucket name “de-c2w1lab3-”: Bucket name must match the regex “[1]{1,255}" or be an ARN matching the regex "^arn:(aws).*:(s3|s3-object-lambda):[a-z\-0-9]*:[0-9]{12}:accesspoint[/:][a-zA-Z0-9\-.]{1,63}|^arn:(aws).*:s3-outposts:[a-z-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9-]{1,63}$”"


  1. a-zA-Z0-9.-_ ↩︎

I think that when you created the S3 bucket in the AWS console, you might have put a “-” at the end of its name, i.e.

de-c2w1lab3-

instead of

de-c2w1lab3

1 Like