About Larger Projects

In the documentation I found this page:

which talks about larger project and explicit suggests:

Keep the Functions and Resources in your Serverless Services to a minimum.

Which is the max suggested number of functions in a serverless project?

Thank you so much in advance!

There is no suggested maximum, so the answer is “it depends”.

Since functions are simply discrete pieces of code, the number of functions will depend largely on how much each of your individual functions do.

There is a maximum number of functions and resources (determined by CloudFormation limits on AWS, I’m not sure about the non-AWS platforms), but that can be worked-around by using nested stacks, cross-stack references, and resource-only services.

1 Like