Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambdaize.sh fails if executable has dot in name #6

Open
gmporter opened this issue Oct 17, 2016 · 1 comment
Open

lambdaize.sh fails if executable has dot in name #6

gmporter opened this issue Oct 17, 2016 · 1 comment
Labels

Comments

@gmporter
Copy link

It looks like the lambdaize.sh helper utility fails if the executable name has a 'dot' in it.

`$ MEM_SIZE=1536 TIMEOUT=180 ./src/lambdaize/lambdaize.sh gpb
Function name: a.out_Qm2Ce8JN

A client error (ValidationException) occurred when calling the CreateFunction operation: 1 validation error detected: Value 'a.out_Qm2Ce8JN' at 'functionName' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-]+)(:($LATEST|[a-zA-Z0-9-]+))?`

@gmporter gmporter added the bug label Oct 17, 2016
@gmporter
Copy link
Author

If this is an AWS limitation, it might be good for lambaize.sh to check if the given name matches the regex, and if not, print out a friendly message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant