Search code examples
amazon-web-servicesaws-lambdamicroservicesaws-sam-cli

Is there a good skeleton for setting up an AWS SAM project the will consist of multiple lambda functions?


is there a source code for setting up a SAM project with the aim of adding multiple lambda functions (with shared code on some)?

It's also important that I could use the sam local feature for starting the api locally.

I checked the official AWS source code with

sam init

But it seems that the project is aimed for one function only...


Solution

  • Update: I made a cli to automate the process and ease the development of the microservice, rocketsame

    I've went ahead and created a skeleton project that fits the needs described above, you can find it here

    The project is mostly intended for python functions, but can support other types with some modifications. It support rebuild for changed functions only, as well as running a local api, and building a big template for micro template (for each function).