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

Enable hub & spoke transitivity via gateway VMs #322

Merged
merged 14 commits into from
Mar 5, 2021

Conversation

drebes
Copy link
Contributor

@drebes drebes commented Feb 3, 2021

This enables transitivity between spokes using regional MIGs that act as transitivity gateways.

Feature gated by enable_hub_and_spoke_transitivity which depends on enable_hub_and_spoke.

Just tested locally, let me know what's needed for integration testing.

@drebes drebes requested review from bharathkkb, rjerrems and a team as code owners February 3, 2021 21:51
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @drebes
I have a fix #323 for the check_terraform error reported by the bot, but we should fix the others.
We should also update the cidr ranges being asserted in the tests here.

3-networks/modules/transitivity/main.tf Outdated Show resolved Hide resolved
3-networks/modules/transitivity/README.md Outdated Show resolved Hide resolved
@rjerrems
Copy link
Collaborator

rjerrems commented Feb 4, 2021

looks like there are still a few linting errors @drebes - if you would like to run this quickly locally, you can do so with this command make docker_test_lint

Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

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

Overall LGTM

@drebes
Copy link
Contributor Author

drebes commented Mar 4, 2021

@bharathkkb done with the lint tests and rebased. I want to start looking into the integration tests now but I have zero experience with kitchen. Can you provide me a link to a similar PR where tests to new network related features were added? It's not clear to me where the tests set the new variables in neither #298 nor #345

Copy link
Collaborator

@rjerrems rjerrems left a comment

Choose a reason for hiding this comment

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

LGTM - I think we can probably add the integration tests in a subsequent PR @drebes ?

cc @bharathkkb

@rjerrems rjerrems merged commit d63a7f8 into terraform-google-modules:develop Mar 5, 2021
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.

None yet

3 participants