Files
homelab-v/tofu/home-assistant/main.tf
T
Vegard Hagen 737e047c8e refactor(tofu): extract variables into their own files
The .tfvars files are normally gitignored, but they serve as an example here. Just need to make sure I don't commit a secret...

Inpired by #236
2025-03-23 17:19:46 +01:00

19 lines
338 B
Terraform

terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.70.1"
}
}
}
provider "proxmox" {
endpoint = var.proxmox_cluster.endpoint
insecure = var.proxmox_cluster.insecure
api_token = var.proxmox_api_token
ssh {
agent = true
username = var.proxmox_cluster.username
}
}