-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support serverless compose #20
Comments
Hey, thanks for the thorough issue This is the way I configured the plugin to add the serverless-analyze-bundle-plugin/src/serverlessAnalyzeBundle.ts Lines 26 to 33 in 26d5104
It's a bit of a hack but it worked since the command object is merged in the default one from serverless. @medikoo do you know if it is possible to have something similar work with |
@adriencaccia I'm not sure, but I suspect it can be difficult, as compose technically is a hack that runs all deploys as individual |
I think I got ya. Moving from the serverless-split-stack-plugin to compose is our last resort as a workaround to the many limitations of CloudFormation. It works for now, but we see where it stops. Does Serverless offers a solution for stacks this size (~800 AppSync resolvers, 300 lambdas) and up? |
We have monorepo using Serverless Compose in one of the yarn workspaces.
Our directory structure looks like this:
Serverless compose allows running stack specific commands like this,
After adding
serverless-analyze-bundle-plugin
in myserverless.yml
, it is still not recognizing the CLI option--analyze
.These are the related package versions in use:
The text was updated successfully, but these errors were encountered: