azurerm_lb_nat_pool

    0

    0

    lucycodes42

    Terraform snippets

    This code creates a new AzureRM LB NAT pool named "SampleApplication Pool" in the West US region. The pool has a resource group named "test.name" and an associated load balancer named "lb.test.id". The pool is configured to use TCP and the frontend port to start at 80 and the backend port to end at 81. The public IP address for the frontend will be set to the pool's frontend_ip_configuration_name.

    Shortcut: tf_azurerm_lb_nat_pool

    resource "azurerm_lb_nat_pool" "${MyResource}" {
       name = "SampleApplication Pool"
       location = "West US"
       resource_group_name = "\${azurerm_resource_group.test.name}"
       loadbalancer_id = "\${azurerm_lb.test.id}"
       protocol = "Tcp"
       frontend_port_start = 80
       frontend_port_end = 81
       backend_port = 8080
       frontend_ip_configuration_name = "PublicIPAddress"
    }
    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.