~samirnassar/debian

5b7d314a2a1a0522d2866cd53e7296c88ea88cef — Samir Nassar 7 months ago c942f5d
ssh_keys is a list(string), removed brackets
1 files changed, 2 insertions(+), 2 deletions(-)

M debian.pkr.hcl
M debian.pkr.hcl => debian.pkr.hcl +2 -2
@@ 3,7 3,7 @@ variable "hcloud_token" {
}

variable "ssh_keys" {
  type = string
  type = list(string)
}

locals {


@@ 25,7 25,7 @@ source "hcloud" "debian-11" {
  ssh_username = "root"
  token        = "${var.hcloud_token}"
  rescue       = "linux64"
  ssh_keys     = ["${var.ssh_keys}"]
  ssh_keys     = "${var.ssh_keys}"
  ssh_agent_auth = true
  server_name = "debian-11-${ local.snapshotbuildtime }"
  snapshot_name = "debian-11-${ local.snapshotbuildtime }"