Skip to content

sironite/terraform-azurerm-virtual_hub_connection

Repository files navigation

Connection for a Virtual Hub

Changelog Notice Apache V2 License TF Registry

Usage - Module

##Connection for a Virtual Hub

module "virtual_hub_connection" {
  source  = "sironite/virtual_hub_connection/azurerm"
  version = "x.x.x"

  name                      = "example-vhub"
  virtual_hub_id            = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.Network/virtualHubs/example-vhub"
  remote_virtual_network_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.Network/virtualNetworks/example-vnet"
  internet_security_enabled = true
}

Providers

Name Version
azurerm >=2.0.0

Modules

No modules.

Resources

Name Type
azurerm_virtual_hub_connection.this resource

Inputs

Name Description Type Required
remote_virtual_network_id The ID of the remote virtual network. string yes
virtual_hub_connection_name The name of the virtual hub connection. string yes
virtual_hub_id The ID of the virtual hub. string yes
address_prefixes The address prefixes for the static VNet route. list(string) no
associated_route_table_id The ID of the associated route table. string no
internet_security_enabled Whether or not internet security is enabled. bool no
labels The labels for the propagated route table. list(string) no
next_hop_ip_address The next hop IP address for the static VNet route. string no
route_table_ids The IDs of the propagated route tables. list(string) no
static_vnet_route_name The name of the static VNet route. string no

Outputs

Name Description
virtual_hub_connection_id The ID of the virtual hub connection.
virtual_hub_connection_name The name of the virtual hub connection.

Related documentation