Lambda@Edge - Maximum number of distributions with Lambda function exceeded

0

I have a Lambda@Edge triggered by a Cloudfront Origin Request that simply removes a part of the resource path before requesting the origin.

My issue here is that I have a lot of distributions (maybe 50) for which I'd like to trigger this Lambda function, but apparently, the only thing I managed to trigger is the:
TooManyDistributionsWithLambdaAssociationsException

com.amazonaws.services.cloudfront.model.TooManyDistributionsWithLambdaAssociationsException: Completing this action would cause the maximum number of distributions with Lambda function associations per owner to be exceeded (maximum allowed is 25).

Moreover, I am surprised I don't find it in this documentation:
http://docs.aws.amazon.com/lambda/latest/dg/limits.html

Can I get round these limits somehow?
I'd be grateful if someone could explain it to me!

François

asked 7 years ago1397 views
1 Answer
0

Hi,

"Other Limits" section on [1] talks about this. The link to request a higher limit is also available there.

[1] https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-lambda-at-edge

Thanks,
Abhishek

AWS
answered 6 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions