FG
ā˜ļø Cloud & DevOpsAmazon

Rate exceeded

Freshover 8 years ago
Mar 14, 20260 views
Confidence Score86%
86%

Problem

Description I have 8 times ${cf:..} in my serverless.yaml and I get 3 out of 5 times "Rate exceeded" while running serverless. I suppose I've reached a limit for cloudformation's API calls (DescribeStack for instance). Is there any chance to avoid this error except of increase my limits? Why doesn't serverless calls the api only once for all stacks? Or at least only once per stack? Last but not least: Which limit do I reach? I don't know which one mentiond on aws limits For bug reports: What went wrong? I run "serverless deploy -v" and I get an error "Rate exceeded" What did you expect should have happened? deploying without that error What was the config you used? [code block] What stacktrace or error message from your provider did you see? [code block] For feature proposals: What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us. If there is additional config how would it look Similar or dependent issues: #3339 Additional Data Serverless Framework Version you're using: 1.14.0 Operating System: Fedora / Linux Stack Trace: Rate exceeded Provider Error messages*:

Error Output

error except of increase my limits? Why doesn't serverless calls the api only once for all stacks? Or at least only once per stack? 

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
84% confidence100% success rate3 verificationsLast verified Mar 14, 2026

Solution: Rate exceeded

Low Risk

> Yep, I unfortunately could not deploy at all so I've hardcoded some values for the moment 🤢 šŸ¤” what about using `Outputs` an `Fn::ImportValue` for the time being?

84

Trust Score

3 verifications

100% success
  1. 1

    > Yep, I unfortunately could not deploy at all so I've hardcoded some values for

    > Yep, I unfortunately could not deploy at all so I've hardcoded some values for the moment 🤢

  2. 2

    šŸ¤” what about using `Outputs` an `Fn::ImportValue` for the time being?

    šŸ¤” what about using `Outputs` an `Fn::ImportValue` for the time being?

Validation

Resolved in serverless/serverless GitHub issue #3821. Community reactions: 2 upvotes.

Verification Summary

Worked: 3
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

serverlesslambdaawsbug