New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility with serverless-offline #175
Comments
@throrin19 for that to happen. I believe first this functionality will need to be integrated into Framework core (so it works in realm of the single process) and then eventually new version of Unfortunately at this point, there's no work involved in this feature so I cannot provide any ETA on Framework core integration |
@medikoo thanks for your response. I understand the problem 😢 |
+1, I tried serverless-compose bc Cloudformation/Serverless does not currently support multiple Websocket APIs in the same service. Offline's incompatibility w/ Compose breaks existing workflow. I'll be mirroring my service to a second repo to workaround in the meantime, though I bemoan the code duplication |
This doesn't just relate to |
Terragrunt has a I wonder if we could take a similar approach here instead of integrating all these various plugins into serverless-core. For example, we could implement a new serverless-compose command like A full example of the command would be: The equivalent can be achieved by
This approach would provide the following benefits:
|
Is there an existing issue for this?
Use case description
In a world where projects are becoming more and more complex, a realization following monorepo (lerna, nx, turborepo, workspaces, ...) becomes a prerequisite to facilitate their development.
In this case, we can end up with several modules using the same APIGateway for cost reasons but also to gather everything behind the same domain.
In order to facilitate the development, which can be quite tedious during the build and deployment of the different modules on AWS, it would be more than interesting to make serverless-compose compatible with serverless-offline.
In this way, we end up using the same local server, launching all the routes of the different modules, through a single command.
Using serverless-compose also allows to manage the prioritization of routes according to the dependencies between modules.
Would it be possible to bring compatibility (or use) of serverless-offline through compose?
Proposed solution (optional)
No response
The text was updated successfully, but these errors were encountered: