Hi,
I’m trying to correctly package my python function to deploy it to aws lambda. I’m keeping all my code in src folder to avoid frequent unnecessary changes to include/exclude section of serverless.yaml.
There’s an issue with this approach though. I can’t deploy just the content of src folder stripping the folder itself. So as result I end up with all my code in src folder in lambda.
So for all this to work I have to change the path to handler which also results in python import issues.
Is there a way to just package the folder content without the folder? Can’t find anything about it in the docs.