opentofu-proxmox-k8s/providers.tf

21 lines
361 B
HCL

terraform {
required_providers {
proxmox = {
source = "registry.opentofu.org/bpg/proxmox"
}
}
}
provider "proxmox" {
endpoint = var.proxmox_endpoint
api_token = "${var.proxmox_token_id}=${var.proxmox_token_secret}"
insecure = true
ssh {
agent = true
username = "root"
private_key = file("./ssh/id_terraform")
}
}