You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_virtual_hub_connection" {
source="./modules/azurerm/r/azurerm_virtual_hub_connection"# hub_to_vitual_network_traffic_allowed - (optional) is a type of boolhub_to_vitual_network_traffic_allowed=null# internet_security_enabled - (optional) is a type of boolinternet_security_enabled=null# name - (required) is a type of stringname=null# remote_virtual_network_id - (required) is a type of stringremote_virtual_network_id=null# virtual_hub_id - (required) is a type of stringvirtual_hub_id=null# vitual_network_to_hub_gateways_traffic_allowed - (optional) is a type of boolvitual_network_to_hub_gateways_traffic_allowed=nullrouting=[{
associated_route_table_id =null
propagated_route_table = [{
labels = []
route_table_ids = []
}]
static_vnet_route = [{
address_prefixes = []
name =null
next_hop_ip_address =null
}]
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_virtual_hub_connection""this" {
# hub_to_vitual_network_traffic_allowed - (optional) is a type of boolhub_to_vitual_network_traffic_allowed=var.hub_to_vitual_network_traffic_allowed# internet_security_enabled - (optional) is a type of boolinternet_security_enabled=var.internet_security_enabled# name - (required) is a type of stringname=var.name# remote_virtual_network_id - (required) is a type of stringremote_virtual_network_id=var.remote_virtual_network_id# virtual_hub_id - (required) is a type of stringvirtual_hub_id=var.virtual_hub_id# vitual_network_to_hub_gateways_traffic_allowed - (optional) is a type of boolvitual_network_to_hub_gateways_traffic_allowed=var.vitual_network_to_hub_gateways_traffic_alloweddynamic"routing" {
for_each=var.routingcontent {
# associated_route_table_id - (optional) is a type of stringassociated_route_table_id=routing.value["associated_route_table_id"]
dynamic"propagated_route_table" {
for_each=routing.value.propagated_route_tablecontent {
# labels - (optional) is a type of set of stringlabels=propagated_route_table.value["labels"]
# route_table_ids - (optional) is a type of list of stringroute_table_ids=propagated_route_table.value["route_table_ids"]
}
}
dynamic"static_vnet_route" {
for_each=routing.value.static_vnet_routecontent {
# address_prefixes - (optional) is a type of set of stringaddress_prefixes=static_vnet_route.value["address_prefixes"]
# name - (optional) is a type of stringname=static_vnet_route.value["name"]
# next_hop_ip_address - (optional) is a type of stringnext_hop_ip_address=static_vnet_route.value["next_hop_ip_address"]
}
}
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}