2024-08-20 19:03:23 +00:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
proxmox = {
|
|
|
|
source = "bpg/proxmox"
|
|
|
|
version = "0.61.1"
|
|
|
|
}
|
2024-09-20 18:50:34 +00:00
|
|
|
authentik = {
|
|
|
|
source = "goauthentik/authentik"
|
|
|
|
version = "2024.8.3"
|
|
|
|
}
|
2024-11-11 20:31:32 +00:00
|
|
|
tailscale = {
|
|
|
|
source = "tailscale/tailscale"
|
|
|
|
version = "0.17.2"
|
|
|
|
}
|
2024-08-20 19:03:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
required_version = "~> 1.7.3"
|
|
|
|
}
|
|
|
|
|
2024-09-20 18:50:34 +00:00
|
|
|
provider "authentik" {
|
|
|
|
url = "https://id.tjo.space"
|
|
|
|
token = var.authentik_token
|
|
|
|
}
|
|
|
|
|
2024-11-11 20:31:32 +00:00
|
|
|
provider "tailscale" {
|
|
|
|
api_key = var.tailscale_apikey
|
|
|
|
}
|
|
|
|
|
2024-08-20 19:03:23 +00:00
|
|
|
provider "proxmox" {
|
|
|
|
# FIXME: Traefik/NGINX breaks this! 500 ERROR
|
2024-11-04 20:32:57 +00:00
|
|
|
endpoint = "https://batuu.system.tjo.cloud:8006/api2/json"
|
2024-08-20 19:03:23 +00:00
|
|
|
insecure = true
|
|
|
|
api_token = var.proxmox_token
|
2024-11-04 20:32:57 +00:00
|
|
|
|
2024-08-20 19:03:23 +00:00
|
|
|
ssh {
|
|
|
|
agent = true
|
|
|
|
username = "root"
|
2024-11-04 20:32:57 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2024-11-30 20:35:13 +00:00
|
|
|
|
|
|
|
node {
|
|
|
|
name = "mustafar"
|
|
|
|
address = "mustafar.system.tjo.cloud"
|
|
|
|
port = 22
|
|
|
|
}
|
2024-08-20 19:03:23 +00:00
|
|
|
}
|
|
|
|
}
|