A | B | C | D | |
---|---|---|---|---|
1 | SAM | Serverless | Comment | |
2 | Configuration | |||
3 | Custom layers | yes | yes | |
4 | CloudFormation support | yes | yes | |
5 | AWS pseudo variable support | yes | yes | Serverless supports it via the plugin serverless-pseudo-parameters |
6 | Define the region once and for all | no | yes | |
7 | Define the CF stack name once and for all | no | yes | |
8 | Resource names are what is defined in the configuration | yes | no | Serverless creates unique names with the stage name. It is possible to override it though. |
9 | Include SAR applications | yes | ? | |
10 | Nested stacks | yes | yes | |
11 | Extensible syntax | no | yes | Serverless plugins |
12 | Include configuration variable from file | no | yes | See https://serverless.com/framework/docs/providers/aws/guide/variables/ |
13 | Include resources from file | no | yes | See https://serverless.com/framework/docs/providers/aws/guide/variables/ |
14 | Environment variables | yes | yes | |
15 | SSM store parameters | yes | yes | With serverless no need to provide the version number. |
16 | Omit version numbers when referencing SSM parameters | no | yes | |
17 | AWS secrets manager | yes | yes | |
18 | PhpStorm support for CloudFormation in the config | yes | no | |
19 | PhpStorm GUI to easily deploy and invoke | no | yes | https://plugins.jetbrains.com/plugin/12115-serverless-framework-gui |
20 | Roles per function | yes | yes | Serverless: possible via a plugin. |
21 | Deployment | |||
22 | Support multiple cloud providers | no | yes | |
23 | Deploy a single function | no | yes | |
24 | Can deploy in one step | no | yes | 3 steps to deploy with SAM |
25 | CloudFormation support | yes | yes | |
26 | Auto-create the S3 bucket | no | yes | |
27 | File exclusion | no | yes | |
28 | Deploy multiple stages | no | yes | |
29 | Deploy multiple stages to different AWS accounts | no | yes | |
30 | Integration with CodeDeploy | yes | ? | |
31 | Deployment strategies (blue/green, canary) | yes | yes | |
32 | Local development | |||
33 | Run in Docker | yes | yes | SAM: 3s, Serverless: 9s. Need to test again with the latest serverless version which should be faster |
34 | Run API Gateway locally | yes | no | https://github.com/dherault/serverless-offline/issues/570, Kong, https://github.com/dherault/serverless-offline/pull/648 |
35 | Run the Lambda API locally | yes | ? | |
36 | Invoke locally with fake S3/SQS/... events | yes | ? | |
37 | Support !Ref locally | yes | ? | |
38 | Support !GetAtt locally | no | ? | |
39 | Run DynamoDb locally | no | ? | |
40 | Run SQS locally | no | ? | |
41 | Tooling | |||
42 | View logs | yes | yes | |
43 | Delete stack | no | yes |