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

Add region field to Network Domain proto #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iosetek
Copy link

@iosetek iosetek commented May 6, 2024

This change adds a region field for Network Domains as multiple resources look for VPCs using Network Domain Listing and then they need to check what is the region associated with them.

Apart from the performance (sending additional requests to check the already known region) there is a risk of using invalid Network Domain if there are multiple VPCs with the same ID in different regions.

This change adds a region field for Network Domains as multiple
resources look for VPCs using Network Domain Listing and then
they need to check what is the region associated with them.

Apart from the performance (sending additional requests to check
the already known region) there is a risk of using invalid
Network Domain if there are multiple VPCs with the same ID in
different regions.
@iosetek iosetek requested a review from saswatp as a code owner May 6, 2024 14:29
Copy link
Member

@saswatp saswatp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not change network domain proto. This will create regression that can't be fully tested with our existing tests. If AWS / GCP connectivity doesn't need region we should be able to connect Azure VPCs without need of a region.

@@ -27,4 +27,5 @@ message NetworkDomainObject {
string accountId = 5;
string sideId = 6;
map<string, string> labels = 7;
string region = 8;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace SideId (typo of siteId) with region and update other repos with this new info.

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.

2 participants