ingress/terraform/terraform.tf

58 lines
1 KiB
Terraform
Raw Normal View History

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"
}
tailscale = {
source = "tailscale/tailscale"
version = "0.17.2"
}
}
required_version = "~> 1.7.3"
}
2024-09-20 18:50:34 +00:00
provider "authentik" {
url = "https://id.tjo.space"
token = var.authentik_token
}
provider "tailscale" {
api_key = var.tailscale_apikey
}
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
}
}
}