thundra-io / serverless-plugin-thundra-lambda-adapters-cw

Apache License 2.0
0 stars 0 forks source link

Policy Size Limit Exceeded #1

Open thejuan opened 5 years ago

thejuan commented 5 years ago

Using the plugin the deploy fails with a stack failing for

The final policy size (20554) is bigger than the limit (20480). (Service: AWSLambda; Status Code: 400

We used to have this issue when Serverless generated our permissions as well, however we have overriden the default iam role and specified our own global log permissions.

Looks like this plugin needs to see that provider -> role has been specified and not generate permissions?

thejuan commented 5 years ago

More info in this issue: https://github.com/serverless/serverless/issues/4686