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"
      }
      Terraform language logo

      azurerm_lb_nat_pool

      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

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.