aws-iot-builder-tools / aws-greengrass-provisioner

Simplifies provisioning Greengrass Cores and building Greengrass Lambda functions
Apache License 2.0
54 stars 15 forks source link

[launch-lambda-stack-for-ggp] should not build a lambda with GG Core Binaries #631

Open ruggero-balteri opened 4 years ago

ruggero-balteri commented 4 years ago

Currently the CF stack generated bylaunch-lambda-stack-for-ggp.sh fails.

This is because the GGP binary is bigger than 250MB which is the Lambda size limit.

To reduce the size of the JAR file I suggest to remove the GG Core binaries, which are not needed inside a Lambda. Namely, the bash script should point to separate gradlew.build that

komushi commented 3 years ago

I need to solve the 2 issues @ruggero-balteri mentioned so I created a PR myself. https://github.com/awslabs/aws-greengrass-provisioner/pull/935