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

fix: use filtered subnet cidr bloccks for instead of the VPC cidr #83

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bmbferreira
Copy link

what

This PR changes that by using the filtered subnet cidrs to create the routes instead of using the whole VPC cidr.

why

Currently even when filtering the accepter subnets by tags, the route table on the requester side is always created to the vpc cidr of the accepter and doesn't create individual routes for each filtered subnet. This is not flexible enough as we might need for example peering to two different VPCs with overlapping CIDRs and we might want to use the subnet cidrs to be able to route to individual cidrs within the subnet, dodging the VPC cidr overlapping.

references

@bmbferreira bmbferreira requested review from a team as code owners January 22, 2024 11:50
@bmbferreira bmbferreira changed the title fix: access to accepter cidr block fix: use filtered subnet cidr bloccks for instead of the VPC cidr Jan 22, 2024
@hans-d
Copy link

hans-d commented Mar 2, 2024

/terratest

@hans-d hans-d added wip Work in Progress: Not ready for final review or merge terratest-failing and removed wip Work in Progress: Not ready for final review or merge labels Mar 2, 2024
@bmbferreira
Copy link
Author

@hans-d any plans to merge this? the test failure doesn't seem to be related with my change, as I see the same test failin in other PRs as well: https://github.com/cloudposse/actions/actions/runs/8132588929/job/22223186662

@hans-d
Copy link

hans-d commented Mar 4, 2024

Unfortunately, I cannot bypass this check. Getting some internal visability on these failing tests as well, as they are now popping up in various places (for various different reasons).
Once the blocking bits are gone (soon I hope), this will be revisited.

@mergify mergify bot added the triage Needs triage label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants