mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 18:26:50 +02:00
fix: Provide only location
This commit is contained in:
@@ -4,7 +4,6 @@ resource "hcloud_load_balancer" "docker" {
|
|||||||
load_balancer_type = var.loadbalancer_type
|
load_balancer_type = var.loadbalancer_type
|
||||||
name = format("%s_%s", "docker", var.stage_name)
|
name = format("%s_%s", "docker", var.stage_name)
|
||||||
location = element(var.locations.*.name, count.index)
|
location = element(var.locations.*.name, count.index)
|
||||||
network_zone = element(var.locations.*.network_zone, count.index)
|
|
||||||
algorithm {
|
algorithm {
|
||||||
type = "round_robin"
|
type = "round_robin"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user