Am writing Terraform configuration for Azure Load Balancers, I’m wanting to add in load_balancer_rules inside the configuration but I’m failing to understand how we can add these rules in,
Can someone show me an example on how to write these rules in?
So far I’ve got this configuration.
resource "azurerm_lb" "sf_lb" {
name = "lb-internal-brcgs-ngd-${var.environment}-sf"
location = var.location
resource_group_name = var.resource_group_name_sf
frontend_ip_configuration {
name = "LoadBalancerIPConfig"
load_balancer_rules =
}
}
}