This commit is contained in:
2026-02-01 14:37:19 +00:00
commit f9ec0b4202
7 changed files with 280 additions and 0 deletions

22
example_var_keys Normal file
View File

@@ -0,0 +1,22 @@
/*
Variablen für Proxmox API Zugang und SSH-Schlüssel Anpssen und umbennen nach Bedarf
var_keys.tf
*/
variable "pm_api_url" {
type = string
description = "Die URL zur Proxmox API (z.B. https://192.168.xxx.xxx:8006/)"
default = "https://192.168.xxx.xxx:8006/"
}
variable "pm_api_token" {
type = string
description = "Der vollständige API Token (ID=Secret)"
sensitive = true
default = "tofu-user@pve!tofu-token=APITOKENVALUE_HERE"
}
variable "pm_ssh_public_key" {
type = string
description = "Der öffentliche SSH-Schlüssel für den Benutzer in der VM"
default = "SSH_PUBLIC_KEY_HERE"
}