This commit is contained in:
parent
f9edeb8be5
commit
1acd33cb87
@ -4,7 +4,6 @@ data "template_file" "cloud_init_alpaca" {
|
|||||||
template = file("${path.module}/files/cloud_init.yaml")
|
template = file("${path.module}/files/cloud_init.yaml")
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
ssh_key = var.SSH_KEY
|
|
||||||
hostname = "alpaca-${count.index + 1}"
|
hostname = "alpaca-${count.index + 1}"
|
||||||
domain = "home.arpa"
|
domain = "home.arpa"
|
||||||
TS_AUTHKEY = var.TS_AUTHKEY
|
TS_AUTHKEY = var.TS_AUTHKEY
|
||||||
@ -39,7 +38,6 @@ data "template_file" "cloud_init_llama" {
|
|||||||
template = file("${path.module}/files/cloud_init.yaml")
|
template = file("${path.module}/files/cloud_init.yaml")
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
ssh_key = var.SSH_KEY
|
|
||||||
hostname = "llama-${count.index + 1}"
|
hostname = "llama-${count.index + 1}"
|
||||||
domain = "home.arpa"
|
domain = "home.arpa"
|
||||||
TS_AUTHKEY = var.TS_AUTHKEY
|
TS_AUTHKEY = var.TS_AUTHKEY
|
||||||
|
@ -2,11 +2,6 @@ variable "proxmox_password" {
|
|||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "proxmox_ssh_private_key" {
|
|
||||||
type = string
|
|
||||||
description = "Unencrypted SSH private key used for root@flex upload"
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "target_node" {
|
variable "target_node" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
@ -84,9 +79,3 @@ variable "TS_AUTHKEY" {
|
|||||||
description = "Tailscale auth key used in cloud-init"
|
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"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user