refactor: make ssh keys to be a list

This commit is contained in:
2026-07-31 19:44:48 +02:00
parent 2495e180e9
commit 35fb02e95e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ resource "proxmox_virtual_environment_vm" "this" {
user_account { user_account {
username = "debian" username = "debian"
keys = [var.ssh_public_key] keys = var.ssh_public_keys
} }
} }
} }
+3 -3
View File
@@ -13,9 +13,9 @@ variable "ip_address" {
type = string type = string
} }
variable "ssh_public_key" { variable "ssh_public_keys" {
description = "Public SSH key for the admin user" description = "List of public SSH keys for the admin user"
type = string type = list(string)
} }
variable "gateway" { variable "gateway" {