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

Tilegarden Lambda package too large #843

Open
KlaasH opened this issue Jun 4, 2021 · 0 comments
Open

Tilegarden Lambda package too large #843

KlaasH opened this issue Jun 4, 2021 · 0 comments

Comments

@KlaasH
Copy link
Contributor

KlaasH commented Jun 4, 2021

A CI deploy to staging just failed with:

�[1F�[2Kupdating Lambda lambda.updateFunctionCode FunctionName=pfbTilegardenStaging
�[1F�[2Kupdating Lambda lambda.setupRequestListeners
RequestEntityTooLargeException: Request must be smaller than 69905067 bytes for the UpdateFunctionCode operation
at Object.extractError (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/protocol/json.js:52:27)
at Request.extractError (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/protocol/rest_json.js:55:8)
at Request.callListeners (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /opt/pfb/tilegarden/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/opt/pfb/tilegarden/node_modules/aws-sdk/lib/request.js:690:12) {
code: 'RequestEntityTooLargeException',
time: 2021-06-04T16:22:01.378Z,
requestId: 'f6b07c28-06e2-4750-afc3-fd685047d4a5',
statusCode: 413,
retryable: false,
retryDelay: 2.1909554746327276
}

It worked a few months ago, so something in the dependencies must have grown since then and pushed the package over the size limit. So that's a bummer. We'll have to see if there are any dependencies we can trim or some other way to shrink the package.

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

No branches or pull requests

1 participant