I tried to execute the following
ask deploy --> but lambda function did not update. so I tried
ask lambda upload -f index.js
and got the following message.
ValidationException: 1 validation error detected: Value 'index.js' at 'functionName' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?