fix: Provide only location

This commit is contained in:
2025-08-03 15:48:57 +02:00
parent 0d6ffcc3e1
commit abfd364f21
@@ -3,8 +3,7 @@ resource "hcloud_load_balancer" "docker" {
load_balancer_type = var.loadbalancer_type
name = format("%s_%s", "docker", var.stage_name)
location = element(var.locations.*.name, count.index)
network_zone = element(var.locations.*.network_zone, count.index)
location = element(var.locations.*.name, count.index)
algorithm {
type = "round_robin"
}