I am new to Lambda and serverless. My initial reaction was extreme excitement about every Lambda being self-contained. But I’m realizing that this encapsulation apparently comes with a drawback–unlike with a server app, I can’t see how to reuse code.
For instance, if I change my database, will I have to update the database specs in every lambda? And how about package versioning?