I am trying to share some classes code between my lambdas in a serverless project that has several lambdas. I don't want to use layers to share the code as i want to iterate quickly over the shared code. Also i do not want to package my shared code in pip modules.
Is there any way to achieve this ? It seems so easy, so i am astonished there is no obvious documented solution for that beside using layers.
My preferred structure would be:
- lambda1
- handly.py
- lambda2
- handle.py
- common_code
- shared.py