Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The final policy size (20786) is bigger than the limit (20480) #42

Closed
kgrodzicki opened this issue Oct 28, 2016 · 4 comments
Closed

The final policy size (20786) is bigger than the limit (20480) #42

kgrodzicki opened this issue Oct 28, 2016 · 4 comments

Comments

@kgrodzicki
Copy link
Contributor

Each deploy adds policy permission for lambda function. Deploy fails when policy size exceeds the limit.

com.amazonaws.services.lambda.model.PolicyLengthExceededException: The final policy size (20786) is bigger than the limit (20480). (Service: AWSLambda; Status Code: 400; Error Code: PolicyLengthExceededException; Request ID: 6bedc15d-9ceb-11e6-8889-dd864af63382) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1529)

@SeanRoy
Copy link
Owner

SeanRoy commented Oct 28, 2016

@kgrodzicki Are you working on fixing this or are you just reporting it?

@kgrodzicki
Copy link
Contributor Author

I'm on it

On 28 Oct 2016, at 18:24, Sean Roy [email protected] wrote:

@kgrodzicki Are you working on fixing this or are you just reporting it?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@SeanRoy
Copy link
Owner

SeanRoy commented Oct 28, 2016

Cool, thank you.

SeanRoy pushed a commit that referenced this issue Oct 28, 2016
#42 fix duplicated policy configuration for SNS topics
@SeanRoy SeanRoy closed this as completed Oct 28, 2016
@manoharreddyporeddy
Copy link

I am using gulp-awslambda instead.
The error looks to be of AWS lambda instead.

ISSUE:
Re-deploying an existing lambda is failing

SOLUTION:

  1. delete lambda function
  2. re-create it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants