Closed mrossetto closed 6 months ago
Is this an existing deployment or a new stage?
Is this an existing deployment or a new stage?
This is occurring in an existing development stack.
So you'd need to be using a custom stacks map and force: true - can you try that again and is your stacks-map being called? At this point all you can really do is just add some console.log there and in this plugin in node_modules to debug it; I really can't stress how doing this to an existing stack is like surgery and very risky. 500 resources is huge and if at all possible, its' better to just start splitting your app up, even if it's just along stateful/stateless resource types.
So you'd need to be using a custom stacks map and force: true - can you try that again and is your stacks-map being called?
Thanks for the insight on all of that, and we were able to get that working. We ended up spinning up fresh stage with the same code and configuration, and it worked perfectly fine. Now we are testing different stacks-map.js configurations, but running into some circular dependencies between resources with the stacks. Hopefully we can get those circular dependencies ironed out.
Issue:
We're implementing the "serverless-plugin-split-stacks" to address the 500 resource limit by splitting our stack based on resource type. However, despite integrating it into our serverless.yml file, the plugin seems to be inactive, behaving as if it were not installed. We've meticulously checked our configurations, even replicating working setups from other stacks, yet the plugin remains overlooked.
Despite utilizing the --verbose output option, the logs show nothing unusual. It appears as though the plugin is absent, even though it is listed in the package registry, the plugin list, and configured correctly based off of the documentation.
Is there any additional insight or troubleshooting we can do to get this functioning or find the root cause to what is going with this?
Some of our troubleshooting:
Serverless.yml snippet:
Packages: