I am trying to import pymysql lib in my lambda function. As suggested here, I used the following folder structure as shown in the image below but I get an error.
When I have the lib folders in the same level as my function(as shown below), I am able to execute the lambda function without any error. I might end up using few libraries, so I want the dependencies to be isolated in a folder