Skip to content

trailing comma in vpcSubnetIds, on updates, causes: Failed to execute goal: null (Service: AWSLambda; Status Code: 500; Error Code: InternalFailure) #101

Description

@dkelkhoff

This tool was working fine for me to create a new lambda function, but any time I would run it to update the same function, it would fail with a message such as:

[ERROR] Failed to execute goal com.github.seanroy:lambda-maven-plugin:2.3.2:deploy-lambda (default-cli) on project infoplus-lambada: null (Service: AWSLambda; Status Code: 500; Error Code: InternalFailure; Request ID: e2b57c26-c102-11e8-9270-ebb4ff7eac70) -> [Help 1]

Eventually I found that I had a trailing comma in the vpcSubnetIds field of my pom.xml, as in:

<vpcSubnetIds>subnet-1c8d3ef4,</vpcSubnetIds>

Deleting that trailing comma allows me to both create and update lambdas.

Ideally, there'd either be a specific error message about invalid content in this field, or, it would work even if you had a incorrect trailing comma there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions