it will be deployed fine with the selected settings and it takes only 9 sec for bundling functions:
Creating service test-bundle-size in cluster shared-eu-west-1... ✔
Bundling functions... 9.0s
Deploying... 2.2s
Success! Created the following service:
Bundling functions... 25.6s
Deploying to shared-eu-west-1 with target prod... 1.5s
There are issues with the new service definition:
Global
✖ software.amazon.awssdk.services.lambda.model.InvalidParameterValueException: Unzipped size must be smaller than 262144000 bytes (Service: null; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 38e0862c-9ef3-11e8-9df8-672a0ee9b568)
Expected behavior?
devDependencies don't affect to bundling time and bundle size
For bug reports, please fill in the next sections:
Current behavior
Looks like devDependencies are being included to the bundle during
gcf deploy
Reproduction
it will be deployed fine with the selected settings and it takes only 9 sec for bundling functions:
Then just add a bit devDependencies:
As a result, it'll throw:
Expected behavior?
devDependencies don't affect to bundling time and bundle size