resource "azurerm_virtual_network_peering" "${MyResource}" {
         name = "peer2to1"
         resource_group_name = "\${}"
         virtual_network_name = "\${}"
         remote_virtual_network_id = "\${}"

      Terraform language logoazurerm_virtual_network_peering

      Terraform snippets

      This code is creating a new virtual network peering connection between the two virtual networks, test1 and test2. The peering connection will use the remote_virtual_network_id to identify the other virtual network.

      Shortcut: tf_azurerm_virtual_network_peering


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.