You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: updating CloudFront Distribution: InvalidLambdaFunctionAssociation: The function code size is larger than the maximum allowed size for functions that are triggered by a CloudFront event: 1423536 Max allowed: 1048576
What did you expect to have happen:
No issues with cognito-at-edge version 1.5.0
How to reproduce this (as precisely and succinctly as possible):
We use the CDK's NodejsFunction construct to deploy our test environments and we did not encounter any issues. Presumably esbuild is able to optimize and reduce the package size even with the default settings (no minify, etc.).
Unless you need the bug fix included in the latest version, I would recommend sticking to 1.5.0 for now. Long term, we would like to get rid of most of our external dependencies (axios and pica), but I can't commit to a specific timeline.
What happened:
Error: updating CloudFront Distribution: InvalidLambdaFunctionAssociation: The function code size is larger than the maximum allowed size for functions that are triggered by a CloudFront event: 1423536 Max allowed: 1048576
What did you expect to have happen:
No issues with cognito-at-edge version 1.5.0
How to reproduce this (as precisely and succinctly as possible):
package.json
npm install
Then zip files and update lambda.
Environment:
cognito-at-edge version
1.5.1
node --version
v20.11.0
npm --version
10.2.4
The text was updated successfully, but these errors were encountered: