azurerm_local_network_gateway

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a new AzureRM Local Network Gateway resource in the current resource group. The name of the gateway is backHome and the resource's location is the same as the resource group's location. The gateway_address is set to 12.13.14.15. The address_space is set to include the 10.0.0.0/16 range.

    Shortcut: tf_azurerm_local_network_gateway

    resource "azurerm_local_network_gateway" "${MyResource}" {
       name = "backHome"
       resource_group_name = "\${azurerm_resource_group.test.name}"
       location = "\${azurerm_resource_group.test.location}"
       gateway_address = "12.13.14.15"
       address_space = ["10.0.0.0/16"]
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.