infrastructure/proxmox.tjo.cloud/terraform.tf

28 lines
506 B
Terraform
Raw Normal View History

2024-07-22 20:30:27 +00:00
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.61.1"
}
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.0"
}
}
}
provider "proxmox" {
# FIXME: Traefik/NGINX breaks this! 500 ERROR
endpoint = "https://178.63.49.225:8006/api2/json"
insecure = true
api_token = var.proxmox_token
ssh {
agent = true
username = "root"
}
}
provider "digitalocean" {
token = var.digitalocean_token
}