1

I ran into the 200 resource limit on cloudformation when using serverless. I saw on the blog that using the domain manager will help mitigate this issue by freeing a few resources from the api gateway.

After implementing this I realized it did nothing to help resource limit. Do I need to do something else after this. I am not sure if I should remove my sls stack and redeploy it?

Ridan
  • 319
  • 2
  • 14

1 Answers1

0

All serverless does is transform some abstract configuration into CloudFormation templates (and other provider templates too.)

Adding a plugin to help you reconfigure the same stack won't reduce your number of resources that get generated.

The serverless blog has a great article on this, https://serverless.com/blog/serverless-workaround-cloudformation-200-resource-limit/.

The TL;DR is that there is a limit to resources in stacks so you have to break your stacks up.

You can:

noetix
  • 4,773
  • 3
  • 26
  • 47