diff --git a/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/main.tf b/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/main.tf index fbe02515a..7a514570a 100644 --- a/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/main.tf +++ b/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/main.tf @@ -57,7 +57,7 @@ resource "hcloud_server" "master" { connection { host = self.ipv4_address timeout = "3m" - user = ${var.user} + user = ${var.user_flatcar} } inline = [ @@ -114,7 +114,7 @@ resource "hcloud_server" "worker" { connection { host = self.ipv4_address timeout = "3m" - user = ${var.user} + user = ${var.user_flatcar} } inline = [ diff --git a/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf b/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf index 35fa8a60e..a9cac2962 100644 --- a/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf +++ b/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf @@ -8,7 +8,7 @@ variable "prefix" { default = "k8s" } -variable "user" { +variable "user_flatcar" { type = string default = "core" }