DianaIonita / serverless-api-gateway-caching

A plugin for the Serverless framework which helps with configuring caching for API Gateway endpoints.
ISC License
136 stars 35 forks source link

Error: Update size too large. Try updating stage in multiple UpdateStage operations #46

Closed afarqu closed 5 years ago

afarqu commented 5 years ago

This error occurs when a large number of APIs exist in the template. The AWS updateStage call can only take a smaller batch of operations.

I suggest that the calls to updateStage be batched. If you want I can create a PR with my changes if you want.

daniyals commented 5 years ago

Im getting the same error

DianaIonita commented 5 years ago

Hi @afarqu and @daniyals, How many functions have you defined in your serverless.yml?

daniyals commented 5 years ago

22 functions

DianaIonita commented 5 years ago

Hi @afarqu and @daniyals,

I've just released v1.3.6 which should fix this issue.