Ula*_*ach 3 aws-lambda serverless-framework serverless
尝试sls deploy使用带有schedule事件的函数时出现以下错误:
An error occurred: SupWorldEventsRuleSchedule1 - The requested
resource exceeds the maximum number allowed. (Service:
AmazonCloudWatchEvents; Status Code: 400; Error Code:
LimitExceededException; Request ID: f39cee40-a651-11e8-a111-97a9e3d0f938).
Run Code Online (Sandbox Code Playgroud)
配置:
functions:
supWorld:
handler: dist/handlers/index.helloWorld
events:
- schedule:
rate: cron(*/10 * * * ? *)
enabled: true
Run Code Online (Sandbox Code Playgroud)
此错误的奇怪之处在于没有schedule与此 lambda 堆栈相关联的其他事件。
您的帐户中已有多少条 Cloudwatch 规则?默认情况下,您只能有 100 个:https : //docs.aws.amazon.com/AmazonCloudWatch/latest/events/cloudwatch_limits_cwe.html
如果我不得不猜测错误的发生是因为您已达到帐户限制
| 归档时间: |
|
| 查看次数: |
1484 次 |
| 最近记录: |