Skip to content

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

Open
@gmporter

Description

@gmporter

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-]+))?`

Activity

gmporter

gmporter commented on Oct 17, 2016

@gmporter
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gmporter

        Issue actions

          lambdaize.sh fails if executable has dot in name · Issue #6 · excamera/mu