diff --git a/terraform/cloud-init.tf b/terraform/cloud-init.tf index 263b377..6a99e5a 100644 --- a/terraform/cloud-init.tf +++ b/terraform/cloud-init.tf @@ -4,7 +4,6 @@ data "template_file" "cloud_init_alpaca" { template = file("${path.module}/files/cloud_init.yaml") vars = { - ssh_key = var.SSH_KEY hostname = "alpaca-${count.index + 1}" domain = "home.arpa" TS_AUTHKEY = var.TS_AUTHKEY @@ -39,7 +38,6 @@ data "template_file" "cloud_init_llama" { template = file("${path.module}/files/cloud_init.yaml") vars = { - ssh_key = var.SSH_KEY hostname = "llama-${count.index + 1}" domain = "home.arpa" TS_AUTHKEY = var.TS_AUTHKEY diff --git a/terraform/variables.tf b/terraform/variables.tf index 7bd76d2..faacfdc 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -2,11 +2,6 @@ variable "proxmox_password" { type = string } -variable "proxmox_ssh_private_key" { - type = string - description = "Unencrypted SSH private key used for root@flex upload" -} - variable "target_node" { type = string } @@ -84,9 +79,3 @@ variable "TS_AUTHKEY" { description = "Tailscale auth key used in cloud-init" } - -variable "SSH_KEY" { - type = string - description = "Private SSH key used to upload cloud-init files to Proxmox" -} -