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

Support for specifying router IP addresses on azurerm_virtual_hub #17140

Open
1 task done
adhodgson1 opened this issue Jun 7, 2022 · 0 comments
Open
1 task done

Support for specifying router IP addresses on azurerm_virtual_hub #17140

adhodgson1 opened this issue Jun 7, 2022 · 0 comments

Comments

@adhodgson1
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

We have a requirement to specify predictable IP addresses for the routers created as part of the virtual hub. Based on the azurerm_virtual_hub documentation It is possible to specify the IP prefix used by the virtual hub, but not the IP addresses of the routers created within that prefix.

According to the Microsoft.Network/virtualHubs reference it is possible to specify the router IPs in the properties.virtualRouterIps field, however I haven't tested this myself, and I note the Azure CLI doesn't allow specifying these IP addresses either, so don't know what is actually possible.

New or Affected Resource(s)/Data Source(s)

azurerm_virtual_hub

Potential Terraform Configuration

resource "azurerm_virtual_hub" "hub" {
  address_prefix      = "10.1.1.0/23"
  location            = "UKSouth"
  name                = "virtual-hub-01"
  resource_group_name = "virtual-wan-rg"
  virtual_wan_id      = azurerm_virtual_wan.vwan.id
  virtual_router_ips  = ["10.1.1.1", "10.1.1.2"]
}

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants