Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

327
Views
What is a Lambda Group in serverless?

I'm looking into the serverless-plugin-split-stacks plugin of the serverless framework since I've hit the CloudFormation limit of 200 resources. In the Migration Strategies section of its Github page, it says that I have three options:

  • Per Lambda
  • Per Type
  • Per Lambda Group

The first two, I kinda get what they mean (but I'm not %100 sure). My question here is about the last option. What is a lambda group? And how can I group my lambda functions? Is it something done manually or they are grouped automatically?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Taking a look into the plugin code per-group-function.js

The plugin auto-group based on the nestedStackCount option.

So, as an example, the following serverless.yml:

custom:
  splitStacks:
    perFunction: false
    perType: false
    perGroupFunction: true
    nestedStackCount: 10

Will group into 10 stacks as:

[serverless-plugin-split-stacks]:    - 10NestedStack: 4
[serverless-plugin-split-stacks]:    - 1NestedStack: 3
[serverless-plugin-split-stacks]:    - 2NestedStack: 1
[serverless-plugin-split-stacks]:    - 3NestedStack: 3
[serverless-plugin-split-stacks]:    - 4NestedStack: 8
[serverless-plugin-split-stacks]:    - 5NestedStack: 5
[serverless-plugin-split-stacks]:    - 6NestedStack: 5
[serverless-plugin-split-stacks]:    - 7NestedStack: 3
[serverless-plugin-split-stacks]:    - 8NestedStack: 4
[serverless-plugin-split-stacks]:    - 9NestedStack: 4

Based on the condition on the script, you need to set nestedStackCount equals or greater than 3.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!