Initial
This commit is contained in:
22
example_var_keys
Normal file
22
example_var_keys
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user