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

Work around need for large plugins #150

Open
SPlanzer opened this issue Dec 6, 2021 · 0 comments
Open

Work around need for large plugins #150

SPlanzer opened this issue Dec 6, 2021 · 0 comments

Comments

@SPlanzer
Copy link
Contributor

SPlanzer commented Dec 6, 2021

The maximum payload to API gateway is 10MB and maximum payload for Lambda is 6MB, which cannot be increased.

https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html
https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html

These limits were not understood at the time of development but did affected one plugin during migration (see #126). All other LINZ plugins were of a smaller enough size they were not affected by payload size limits.

There are a number of documented workarounds for this, including uploading directly to s3 via signed urls (https://sookocheff.com/post/api/uploading-large-payloads-through-api-gateway/)

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

No branches or pull requests

1 participant