try this link for adding layers to the lambda function link - https://www.youtube.com/watch?v=lrEAu75zhNI&ab_channel=e2eSolutionArchitect