From efdb22c14f9f229385d2042675a24413a27340e8 Mon Sep 17 00:00:00 2001 From: Eric Bischoff Date: Fri, 16 Apr 2021 15:36:39 +0200 Subject: [PATCH] Connect only real terminals and branch server to private network --- modules/client/main.tf | 2 +- modules/minion/main.tf | 2 +- modules/sshminion/main.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/client/main.tf b/modules/client/main.tf index ceb59d9c0..c6620c046 100644 --- a/modules/client/main.tf +++ b/modules/client/main.tf @@ -14,7 +14,7 @@ module "client" { ssh_key_path = var.ssh_key_path ipv6 = var.ipv6 connect_to_base_network = true - connect_to_additional_network = true + connect_to_additional_network = false roles = ["client"] disable_firewall = var.disable_firewall grains = { diff --git a/modules/minion/main.tf b/modules/minion/main.tf index c0e1ec245..103d1b386 100644 --- a/modules/minion/main.tf +++ b/modules/minion/main.tf @@ -14,7 +14,7 @@ module "minion" { ssh_key_path = var.ssh_key_path ipv6 = var.ipv6 connect_to_base_network = true - connect_to_additional_network = true + connect_to_additional_network = false roles = var.roles disable_firewall = var.disable_firewall diff --git a/modules/sshminion/main.tf b/modules/sshminion/main.tf index 936f7deae..75cfd040a 100644 --- a/modules/sshminion/main.tf +++ b/modules/sshminion/main.tf @@ -14,7 +14,7 @@ module "sshminion" { ssh_key_path = var.ssh_key_path ipv6 = var.ipv6 connect_to_base_network = true - connect_to_additional_network = true + connect_to_additional_network = false roles = ["sshminion"] disable_firewall = var.disable_firewall grains = {