AWS lambda serverless `schedule` event creation error: LimitExceededException
AWS lambda serverless `schedule` event creation error: LimitExceededException
我在尝试 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).
配置:
functions:
supWorld:
handler: dist/handlers/index.helloWorld
events:
- schedule:
rate: cron(*/10 * * * ? *)
enabled: true
此错误的奇怪之处在于没有其他 schedule
事件与此 lambda 堆栈关联。
您的帐户中已有多少条 Cloudwatch 规则?默认情况下你只能有 100 个:https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/cloudwatch_limits_cwe.html
如果我不得不猜测错误是因为您已达到帐户限制
我在尝试 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).
配置:
functions:
supWorld:
handler: dist/handlers/index.helloWorld
events:
- schedule:
rate: cron(*/10 * * * ? *)
enabled: true
此错误的奇怪之处在于没有其他 schedule
事件与此 lambda 堆栈关联。
您的帐户中已有多少条 Cloudwatch 规则?默认情况下你只能有 100 个:https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/cloudwatch_limits_cwe.html
如果我不得不猜测错误是因为您已达到帐户限制