Skip to content

Lambda Event Body over STDIN#1474

Merged
whummer merged 7 commits intolocalstack:masterfrom
DavidTanner:lambdaInvocation
Aug 13, 2019
Merged

Lambda Event Body over STDIN#1474
whummer merged 7 commits intolocalstack:masterfrom
DavidTanner:lambdaInvocation

Conversation

@DavidTanner
Copy link
Contributor

Command line arguments are limited in size, but the event body for lambda should be able to accommodate up to 6Mb of data. Event bodies can be sent to lambci/docker-lambda as either an environment variable, a command line argument, or as STDIN.

Fixes #1055 and #1081

@DavidTanner
Copy link
Contributor Author

I did try to write a test with a large lambda event, but I couldn't get the event to fail without the changes. I have tested the build locally against the published docker image and my changes to validate.

@whummer
Copy link
Member

whummer commented Aug 13, 2019

Hi @DavidTanner - looks awesome. Looks like we have a minor conflict, due to another PR that got merged recently. Can we please resolve it, then I'd be happy to merge this one. Thanks

@whummer whummer merged commit 53d8e7e into localstack:master Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Argument list too long when a lambda function event body is too large

2 participants