Open eduard93 opened 1 year ago
Something like:
plugins:
- serverless-plugin-split-stacks
maybe?
Yes, that's a requirement for using any serverless plugin, also note that it only migrates a conservative set of resources regardless of strategy, you have to customize it via stacks-map. This is an advanced plugin, and I implore you to consider how to split your application up since it was created originally when the limit was 200, having more than 500 resources in a stack is a recipe for a bad time eventually.
I have a deployed stack with 500 resources. After adding a few more I wanted to use
serverless-plugin-split-stacks
as I getThe CloudFormation template is invalid: Template format error: Number of resources, 507, is greater than maximum allowed, 500
error.I installed the plugin and added this as a first thing in a custom section:
alternatively tried:
But the error I get is still:
The CloudFormation template is invalid: Template format error: Number of resources, 507, is greater than maximum allowed, 500
.Is there some step I'm missing?