Files
opentofu-standart-vm/cluster/providers.tf
Iurii Anfinogenov e40ee15da1 Init commit
2026-04-13 17:48:41 +00:00

20 lines
402 B
HCL

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