49 lines
881 B
HCL
49 lines
881 B
HCL
terraform {
|
|
required_providers {
|
|
proxmox = {
|
|
source = "bpg/proxmox"
|
|
version = "0.61.1"
|
|
}
|
|
authentik = {
|
|
source = "goauthentik/authentik"
|
|
version = "2024.8.3"
|
|
}
|
|
}
|
|
|
|
required_version = "~> 1.7.3"
|
|
}
|
|
|
|
provider "authentik" {
|
|
url = "https://id.tjo.space"
|
|
token = var.authentik_token
|
|
}
|
|
|
|
provider "proxmox" {
|
|
# FIXME: Traefik/NGINX breaks this! 500 ERROR
|
|
endpoint = "https://batuu.system.tjo.cloud:8006/api2/json"
|
|
insecure = true
|
|
api_token = var.proxmox_token
|
|
|
|
ssh {
|
|
agent = true
|
|
username = "root"
|
|
|
|
node {
|
|
name = "batuu"
|
|
address = "batuu.system.tjo.cloud"
|
|
port = 22
|
|
}
|
|
|
|
node {
|
|
name = "jakku"
|
|
address = "jakku.system.tjo.cloud"
|
|
port = 22
|
|
}
|
|
|
|
node {
|
|
name = "nevaroo"
|
|
address = "nevaroo.system.tjo.cloud"
|
|
port = 22
|
|
}
|
|
}
|
|
}
|