aws-samples / aws-samples/aws-cloudfront-samples

RulesPerSecurityGroupLimitExceeded error

Open
#53 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
246
Forks
167
PR merge metrics
No merged PRs in 30d

Description

The script to update security groups with CloudFront IPs is returning

"errorType": "ClientError",
"errorMessage": "An error occurred (RulesPerSecurityGroupLimitExceeded) when calling the AuthorizeSecurityGroupIngress operation: The maximum number of rules per security group has been reached."

Presumably because the number of IP addresses from CloudFront now exceeds the the default AWS limit on RulesPerSecurityGroup, which is 60.

I think the README should mention this issue with instructions on how to increase VPC RulesPerSecurityGroup.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.