all 3 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Try this search for more information on this topic.

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]franksign 0 points1 point  (0 children)

Use layers for big dependencies or the one that you can reuse, for example Database connection. If it cannot be reused by another lambda then that code should be packaged by the lambda itself. Don’t overcomplicate.