diff --git a/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf b/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf index 26a6daa9c..e47162dc8 100644 --- a/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf +++ b/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/variables.tf @@ -1,5 +1,4 @@ -variable "ssh_private_key_path" {} variable "zone" { type = string default = "fsn1" @@ -21,6 +20,11 @@ variable "ssh_public_keys" { type = list(string) } +variable "ssh_public_keys" { + type = string + default = "~/.ssh/id_rsa" +} + variable "ssh_whitelist" { type = list(string) } diff --git a/contrib/terraform/hetzner/variables.tf b/contrib/terraform/hetzner/variables.tf index 0404b5508..8fc8b2c97 100644 --- a/contrib/terraform/hetzner/variables.tf +++ b/contrib/terraform/hetzner/variables.tf @@ -28,6 +28,7 @@ variable "ssh_public_keys" { variable "ssh_private_key_path" { description = "Private SSH key which connect to the VMs." type = string + default = "~/.ssh/id_rsa" } variable "ssh_whitelist" {