fix example

This commit is contained in:
zjhe 2024-10-05 09:41:28 +08:00 committed by lonegunmanb
parent e07726ef45
commit 376f0a3732

View File

@ -82,14 +82,12 @@ resource "azurerm_lb_backend_address_pool" "bpepool" {
}
resource "azurerm_lb_probe" "vmss" {
resource_group_name = azurerm_resource_group.vmss.name
loadbalancer_id = azurerm_lb.vmss.id
name = "ssh-running-probe"
port = var.application_port
}
resource "azurerm_lb_rule" "lbnatrule" {
resource_group_name = azurerm_resource_group.vmss.name
loadbalancer_id = azurerm_lb.vmss.id
name = "http"
protocol = "Tcp"