I'm developing a back-end for a mobile app and decided to use aws-lambda for it and write all the code in python. Thus I decided to use PyCharm as an IDE with AWS Toolkit plugin installed.
My problem is that it seems that for every lambda you need to create a separate PyCharm project. At first, it was not a problem, but now that I have ~20 lambdas in my backend it's becoming a nightmare since:
- To jump from developing one lambda to the other I need to reopen PyCharm project.
- To deploy a new version of lambda's code I need to manually choose which lambda's code I would like to update with current project's code - in other words, there's no way to link a
*.pysource code file to a particular lambda in AWS (or I'm not aware of it). And a couple of times I by mistake updated wrong lambdas.
That said I'm looking for a way to:
- Keep all the lambdas development in one PyCharm project, but keep different lambdas' source code in different
*.pyfiles. - Somehow semi-manually link source code files to particular lambdas.