Is there a way (or could there be a way) to make the creation of functions in the serverless.yml optional depending on something like your stage or another passed variable?
I’m hitting the 200 resource limit and as alternative to breaking up things into multiple projects, it dawned on me that a simpler way would be that the functions could simply have boolean similar to AWS’s “ShouldCreateResource” boolean that the function should be created or ignored.
This way, you could perhaps have two stages, i.e. prod-ui and prod-admin (for front end and back end calls) and then have some of your functions deploy for each of these two stages, yet all contained within one project (helpful when they may share model files or some other scenario that makes physically breaking apart the project more difficult).
You’d still wind up with all your node_modules dependencies as part of the zip no matter what, that’s a different issue, but for many use cases this may be acceptable or not matter.