Files
ProxmoxInfra/main.tf
bob dc4ade7ed1 refactor(provider): switch auth from password to API token
Prefer API token over username/password — scoped to least-privilege
TerraformRole, reduces blast radius if credentials leak.
2026-04-10 21:31:58 -05:00

19 lines
352 B
HCL

terraform {
required_version = ">= 1.0"
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "~> 0.73"
}
}
}
provider "proxmox" {
endpoint = var.proxmox_endpoint
api_token = var.proxmox_api_token
# Set to true if using a self-signed certificate (common on home labs)
insecure = var.proxmox_insecure
}