vnet-peering
claranet/vnet-peering/azurerm
Terraform module for Azure virtual networks peering
Azure Virtual Network Peering     Terraform module to generate a Virtual Network Peering between two Virtual Networks which can belong to two different Azure Subscriptions. Limitations Peering between two virtual networks in different tenants isn't possible. Subnet peering needs feature registration Microsoft.Network/AllowSubnetPeering to be enabled in the destination subscription. az feature register --namespace Microsoft.Network --name AllowMultiplePeeringLinksBetweenVnets Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------
| Name | Type | Description | Default |
|---|---|---|---|
| dest_virtual_network_id | string | ID of the destination Virtual Network to peer. | required |
| src_virtual_network_id | string | ID of the source Virtual Network to peer. | required |
| dest_subnet_names | list(string) | A list of remote subnet names that are peered with the Virtual Network. [See doc | [] |
| name_suffix | string | Optional suffix for the generated name. | "to" |
| src_virtual_network_access_allowed | bool | Controls if the VMs in the remote virtual network can access VMs in the local vi | false |
| src_subnet_names | list(string) | A list of local subnet names that are peered with remote Virtual Network. [See d | [] |
| dst_custom_name | string | Custom name of the vnet peerings to create. | "" |
| name_prefix | string | Optional prefix for the generated name. | "" |
| src_gateway_transit_allowed | bool | Controls gatewayLinks can be used in the remote virtual network’s link to the lo | false |
| use_src_remote_gateway | bool | Controls if remote gateways can be used on the local virtual network. [See docum | false |
| dest_gateway_transit_allowed | bool | Controls gatewayLinks can be used in the remote virtual network’s link to the lo | false |
| src_custom_name | string | Custom name of the vnet peerings to create. | "" |
| src_forwarded_traffic_allowed | bool | Controls if forwarded traffic from VMs in the remote virtual network is allowed. | false |
| dest_virtual_network_access_allowed | bool | Controls if the VMs in the remote virtual network can access VMs in the local vi | false |
| dest_forwarded_traffic_allowed | bool | Controls if forwarded traffic from VMs in the remote virtual network is allowed. | false |
| use_dest_remote_gateway | bool | Controls if remote gateways can be used on the local virtual network. [See docum | false |
name — Source Virtual network peering name.dest_id — Destination Virtual network peering id.dest_name — Destination Virtual network peering name.resource — Virtual network peering resource object.resource_dest — Destination Virtual network peering resource object.id — Source Virtual network peering id.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,