Closed moanany closed 7 years ago
I am still getting the below error while doing the deploylambda -
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid bucket name "
What am I supposed to update here
It seems like a bucket name parameter is set to an empty string in config/cfn-params.json. The parameters reference in the docs explains each parameter. Did you check there?
Yeah that was fine. I named s3_bucket, SourceS3BucketParameter, FrameS3BucketNameParameter all the three with same existing bucket and deploylambda was success.
If the S3 bucket used as a deployment target does not exist, the
deploylambda
build script attempts to create it by calling the create_bucket() Boto3 API specifying aLocationConstraint
set to the region name of the current AWS CLI profile.Boto3 generates an
InvalidLocationConstraint
exception if the region specified as an argument isus-east-1
(see https://github.com/boto/boto3/issues/125).Issue originally reported by Jenil Shah as a comment on the blog post:
https://aws.amazon.com/blogs/ai/create-a-serverless-solution-for-video-frame-analysis-and-alerting/