I’m fairly new to AWS and serverless in general so trying to get a feel for how it all works and how best to structure my project.
I followed this example layout for using a single lambda function for all CRUD operations with the serverless.yaml using the same file but different method. https://github.com/pmuens/serverless-crud
I assumed this would create 4 API paths all pointing to the single lambda function which I figured is good for reducing cold starts and simplifying my code layout. However, it created 4 duplicate lambda functions with different names.
I am just wondering if this is expected behaviour or if I have done something wrong?