-
Notifications
You must be signed in to change notification settings - Fork 578
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
Multiple Hub scenario - Bug Report #328
Comments
Sorry, we should probably document this more clearly. We only support deploying one hub per region unless you use multiple instances of the module with a unique Please can you elaborate a bit more on your use case, as we identified multiple hubs within the same region as a bit of an edge case, so were happy to accept this compromise in the module. |
I hope that this quick diagram will give you some overview. We have multiple sites in the world and very complicated network setup. To simplify it, we want to establish a separate hub for each connection, which will be reused by different projects. It's not a common scenario where you have point-to-point between Azure and On-Prem. Please let me know if it's clear now. |
Understood, thank you for the additional diagram @mlomat. Out of interest, is this a security-based decision to segregate like this, or to handle overlapping addresses, or something else? To achieve this with the module you will need to define multiple instances of the module and then take either of the following approaches to configuring it: Unique
|
I'm sure it goes without saying, but you can mix both of the above approaches and repeat X times as needed. However you may wish to consider disabling certain sub-settings. For example, do you need multiple sets of Private DNS Zones or DDoS Protection Plans? All of these things are configurable, and you can share certain resources across multiple instances but may require further guidance on this as these are undocumented features within the |
Thanks, @krowlandson, for replay :) Best |
True, updated :) |
Thanks @krowlandson - I tested your code and looks good, and I can deploy what I want. I will probably go back in future to ask more about this "configure_connectivity_resources.advanced". For now I was able to deploy two hubs in this same region. |
Community Note
Versions
terraform: 1.1.7
azure provider: 2.99.0
Description
Describe the bug
Cannot deploy two hubs in this same region.
Steps to Reproduce
I used your example configuration from Deploy Connectivity with custom settings and I would like to deploy multiple hubs in this same region, because in my use case we have many VPNs in different sites, so each site needs to be separate Hub and app based on requirement will be connected to one or many hubs.
I changed below config to use for both hubs location "westeurope" and it's failing with error.
The text was updated successfully, but these errors were encountered: