Hey All -
I’m running into the CloudFormation resource limit of 200 pretty easily with serverless, in my case I’m just standing up about 25 services (which from what I can tell map to about 4 resources each).
In an effort to buy myself some room here (and fix the mess of default log groups and logging in AWS), I’m wondering:
-
If there is a way to have all services share the same LogGroup … instead of having a LogGroup for each service?
-
What I’m probably doing wrong here to hit this ceiling so quickly … I suspect my config is producing separate services where only one is needed but could use a hand refactoring it to be cleaner.
Here’s a sample snippet of my yaml, any help would be appreciated
messages-post:
handler: messages/post.handler
events:
- http:
path: api/messages
method: post
messages-get:
handler: messages/get.handler
events:
- http:
path: api/messages/{id}
method: get
- http:
path: api/messages/owner/{owner}
method: get
messages-delete:
handler: messages/delete.handler
events:
- http:
path: api/messages/{id}
method: delete