allow additional ssh public keys
This commit is contained in:
parent
406ba988bf
commit
2fa1b17ac6
@ -45,7 +45,7 @@ locals {
|
||||
passwd = {
|
||||
users = [{
|
||||
name = "root"
|
||||
sshAuthorizedKeys = [local.ssh_public_key]
|
||||
sshAuthorizedKeys = concat([local.ssh_public_key], var.additional_public_keys)
|
||||
}]
|
||||
}
|
||||
storage = {
|
||||
|
@ -14,6 +14,12 @@ variable "private_key" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "additional_public_keys" {
|
||||
description = "Additional SSH public Keys. Use them to grant other team members root access to your cluster nodes"
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "location" {
|
||||
description = "Default server location"
|
||||
type = string
|
||||
|
Loading…
Reference in New Issue
Block a user