mirror of
https://github.com/2martens/terraform.git
synced 2026-10-19 14:56:51 +02:00
change: Only install certbot on main manager node
This commit is contained in:
@@ -78,7 +78,7 @@ resource "hcloud_server" "node" {
|
||||
github_public_ssh_key : var.github_public_ssh_key
|
||||
main_node : count.index == 0
|
||||
packages_setup : base64encode(templatefile("${path.module}/templates/scripts/install-packages.sh.tftpl", {
|
||||
manager_node : true
|
||||
main_node : count.index == 0
|
||||
}))
|
||||
firewall_setup : base64encode(templatefile("${path.module}/templates/scripts/firewall-setup.sh.tftpl", {
|
||||
node_ip : var.private_node_ips[count.index]
|
||||
|
||||
Reference in New Issue
Block a user