fix: switch to API token authentication for Proxmox
Some checks failed
Gitea Actions Demo / Terraform Plan (push) Failing after 11s

- Replace user/password auth with API token auth
- Update provider config to use pm_api_token_id and pm_api_token_secret
- Update workflow secrets to use PM_API_TOKEN_ID and PM_API_TOKEN_SECRET
- Remove unused pm_user and proxmox_password variables
This commit is contained in:
2026-02-27 20:02:22 +00:00
parent 79b535bb59
commit c8b86c7443
5 changed files with 18 additions and 13 deletions

View File

@@ -1,5 +1,12 @@
variable "proxmox_password" {
type = string
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" {
@@ -38,10 +45,6 @@ variable "pm_api_url" {
type = string
}
variable "pm_user" {
type = string
}
variable "alpaca_vm_count" {
type = number
default = 1