Open throrin19 opened 1 year ago
After research, I found serverless-compose but serverless offline is not compatible with it. I made an issue to ask about a possible compatibility to add this feature request. (Issue here : https://github.com/serverless/compose/issues/175)
Unfortunately, since serverless-offline is not part of the serverless core, the compose team cannot do anything.
I found a "pseudo" solution available here but it is not clean at all: https://github.com/dherault/serverless-offline/issues/1386#issuecomment-1463432863
Feature Request
It's possible to add the possibility to use the same serverless instance tu run many projects inside the same API Gateway proxy ? (same port).
In our case we migrate a big monolitic app to a monorepo approach and we need to use the same serverless instance between the old and the new repo.
We also need this to use same apigateway between all monorepo projects (many projects can use HTTP apigateway as source)
Actually, If we would do that, we have to set different port between all projects (lambdaPort and httpPort). It's not acceptable to develop it easilly with the Front project and it complexifie that only for the local dev part.
For example, the plugin
serverless-offline-aws-eventbridge
use that with this configuration :With that, all projects can use the same eventBridge mock part. I know, it's not the same logic as serverless-offline but if you do this, it will be awersome for many users