feat: add opentofu basic setup

This commit is contained in:
Alexander Navarro 2025-01-16 11:36:36 -03:00
parent 467de17183
commit 65a98c6f57
5 changed files with 112 additions and 0 deletions

21
opentofu/vms/providers.tf Normal file
View file

@ -0,0 +1,21 @@
# docs: https://registry.terraform.io/providers/bpg/proxmox/latest/docs
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.43.2"
}
}
}
provider "proxmox" {
endpoint = var.proxmox_api_endpoint
api_token = var.proxmox_api_token
insecure = true
tmp_dir = "/var/tmp"
ssh {
agent = true
username = "robo"
}
}