Hi there,
we are trying to get this example app running but are unable to deploy, because the resulting Lambda function is too large.
Resource handler returned message: "Invalid request provided: AWS::CloudFront::Distribution: The function code size is larger than the maximum allowed size for functions that are triggered by a CloudFront event: 1212049 Max allowed: 1048576 Function: arn:aws:lambda:us-east-1:xxxxxxxxxxx:function:yyyyyyyyyyyyyyyyyyyyyy-CloudFrontAuthFunction-wykPqdDXOu0C:1 (Service: CloudFront, Status Code: 400, Request ID: ...

We didn't touch the JS code nor the package.json file.
Can anyone reproduce this? What can we do?
Thanks in advance,
Florian.