-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
EC2: Cross-account VPC peering connections #6826
EC2: Cross-account VPC peering connections #6826
Conversation
2bb5326
to
cf3498b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the linter is failing: https://github.com/getmoto/moto/actions/runs/6224588248/job/16893138639
All tests that now patch os.environ
will have to be skipped in ServerMode, otherwise they'll fail.
The logic itself looks good to me!
cf3498b
to
070d719
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome - thank you @viren-nadkarni!
AWS allows VPCs to be peered as long as their CIDR ranges do not overlap. Peering can happen within the same account/region or cross-account/region.
#2195 added VPC peering support across-regions.
This PR introduces VPC peering support across-accounts.
Exisiting tests have been parametrised to run all assertions within the same account and across accounts.
Closes: localstack/localstack#8550