flatcar_user

This commit is contained in:
Florian Nowarre 2022-09-21 14:56:25 +02:00
parent 49a0fd6093
commit 2505c4557b
2 changed files with 3 additions and 3 deletions

View file

@ -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 = [

View file

@ -8,7 +8,7 @@ variable "prefix" {
default = "k8s"
}
variable "user" {
variable "user_flatcar" {
type = string
default = "core"
}