mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 14:16:52 +02:00
change: Use public ip for targets
This commit is contained in:
@@ -23,7 +23,7 @@ resource "hcloud_load_balancer_target" "nodes" {
|
|||||||
type = "server"
|
type = "server"
|
||||||
load_balancer_id = hcloud_load_balancer.docker[0].id
|
load_balancer_id = hcloud_load_balancer.docker[0].id
|
||||||
server_id = hcloud_server.node[count.index].id
|
server_id = hcloud_server.node[count.index].id
|
||||||
use_private_ip = true
|
use_private_ip = false
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "hcloud_load_balancer_service" "http" {
|
resource "hcloud_load_balancer_service" "http" {
|
||||||
|
|||||||
Reference in New Issue
Block a user