Skip to content
Snippets Groups Projects
Verified Commit ddb2a244 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

terraform: Disable private subnet

parent 2f005581
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ resource "hcloud_load_balancer_target" "lb_target" {
type = "label_selector"
load_balancer_id = hcloud_load_balancer.lb.id
label_selector = "k8s.io/node=true"
use_private_ip = true
use_private_ip = false
}
resource "hcloud_load_balancer_network" "lb_network" {
......
......@@ -21,6 +21,6 @@ module "nodes" {
placement_group_id = hcloud_placement_group.k8s.id
ssh_keys = data.hcloud_ssh_keys.all_keys.ssh_keys.*.name
server_type = "cx21"
subnet = hcloud_network_subnet.subnet.id
# subnet = hcloud_network_subnet.subnet.id
user_data = file("templates/cloud-init.tpl")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment