Skip to content

fix: GitHub IP ranges grow too large for Security Groups - #1955

Merged
cdklabs-automation merged 1 commit into
mainfrom
huijbers/collapse-ip-ranges
Nov 12, 2026
Merged

cdklabs-automation merged 1 commit into
mainfrom
huijbers/collapse-ip-ranges

Conversation

@rix0rrr

@rix0rrr rix0rrr commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

We are restricting outbound network access for the Transliterator to known NPM and GitHub IP addresses, using Security Group rules.

Problem is that security groups can have at most 60 rules, and these IP ranges are ever-growing as GitHub is expanding its infrastructure, and are currently up to 80+ rules.

I think we have no need to contact GitHub at all, but I also don't want to mess with existing infra too much. So I've done the next cheapest thing: merge IP ranges with the smallest distance until we are under the limit of 60 again, so we can deploy.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

We are restricting outbound network access for the Transliterator
to known NPM and GitHub IP addresses, using Security Group rules.

Problem is that security groups can have at most 60 rules, and these
IP ranges are ever-growing as GitHub is expanding its infrastructure,
and are currently up to 80+ rules.

I *think* we have no need to contact GitHub at all, but I also don't
want to mess with existing infra too much. So I've done the next cheapest
thing: merge IP ranges with the smallest distance until we are under
the limit of 60 again, so we can deploy.
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@cdklabs-automation
cdklabs-automation added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 887fafb Nov 12, 2026
9 checks passed
@cdklabs-automation
cdklabs-automation deleted the huijbers/collapse-ip-ranges branch November 12, 2026 11:09
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

Successfully merging this pull request may close these issues.

3 participants