Search code examples
node.jsamazon-web-servicesaws-lambdaserverless-frameworkserverless

What is the serverless.yml file on serverless framework?


I have a short question. The serverless.yml of the serverless framework is a wrapper of aws cloudformation yml or how does it work?


Solution

    • SAM and serverless frameworks have in common that they generate CloudFormation.
    • they both abstract CloudFormation so that you need to write less code to build serverless applications (in the case of SAM) and to deploy Lambda functions (for both SAM and Serverless).

    Yes they are abstraction, however serverless allows you to granularize more.