Data Source: azurerm_lb

Use this data source to access information about an existing Load Balancer

Example Usage

data "azurerm_lb" "example" {
  name                = "example-lb"
  resource_group_name = "example-resources"
}

output "loadbalancer_id" {
  value = data.azurerm_lb.example.id
}

Argument Reference

Attributes Reference

The following attributes are exported:


A frontend_ip_configuration block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: