Files
TerraHome/terraform/variables.tf
MichaelFisher1997 364dc6b35b
Some checks failed
Gitea Actions Demo / Terraform Plan (push) Failing after 13s
fix: use TF_VAR_ prefix for token credentials
- Restore pm_api_token_id and pm_api_token_secret variables
- Use TF_VAR_pm_api_token_id and TF_VAR_pm_api_token_secret env vars
- This is the standard Terraform way to pass variables via environment
2026-02-27 20:43:39 +00:00

69 lines
1.0 KiB
HCL

variable "pm_api_token_id" {
type = string
description = "Proxmox API token ID (format: user@realm!tokenid)"
}
variable "pm_api_token_secret" {
type = string
sensitive = true
description = "Proxmox API token secret"
}
variable "target_node" {
type = string
}
variable "clone_template" {
type = string
}
variable "cores" {
type = number
}
variable "memory" {
type = number
}
variable "disk_size" {
type = string
}
variable "sockets" {
type = number
}
variable "bridge" {
type = string
}
variable "storage" {
type = string
}
variable "pm_api_url" {
type = string
}
variable "alpaca_vm_count" {
type = number
default = 1
description = "How many Alpaca VMs to create"
}
variable "llama_vm_count" {
type = number
default = 1
description = "How many Llama VMs to create"
}
variable "TS_AUTHKEY" {
type = string
description = "Tailscale auth key used in cloud-init"
}
variable "SSH_KEY_PUBLIC" {
type = string
description = "My Public SSH key for ssh auth list"
}