5f2720ae4e
Tunnel routes were being managed ad-hoc via Cloudflare API. Now codified in Terraform so they can't drift — neuron.neuralplatform.ai was missing from the tunnel config, causing 404s for Neuron MCP connections. Also fix mcp.json: type http → sse (Neuron uses SSE transport, not streamable HTTP). CF-Access headers were already present and correct.
54 lines
1.2 KiB
Terraform
54 lines
1.2 KiB
Terraform
variable "kubeconfig_path" {
|
|
description = "Path to Legion kubeconfig"
|
|
type = string
|
|
default = "~/.kube/legion-config"
|
|
}
|
|
|
|
variable "legion_ip" {
|
|
description = "Legion server LAN IP (DHCP reserved)"
|
|
type = string
|
|
default = "192.168.68.77"
|
|
}
|
|
|
|
variable "domain_suffix" {
|
|
description = "Internal-only domain (nook.family)"
|
|
type = string
|
|
default = "nook.family"
|
|
}
|
|
|
|
variable "infra_domain" {
|
|
description = "Domain for infrastructure / platform services"
|
|
type = string
|
|
default = "neuralplatform.ai"
|
|
}
|
|
|
|
variable "cloudflare_api_key" {
|
|
description = "Cloudflare global API key for cert-manager DNS-01"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "cloudflare_email" {
|
|
description = "Cloudflare account email"
|
|
type = string
|
|
default = "andersonwilliam85@gmail.com"
|
|
}
|
|
|
|
variable "gitea_api_token" {
|
|
description = "Gitea API token for Argo CD repo access"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "cloudflare_tunnel_id" {
|
|
description = "Cloudflare tunnel ID (main legion tunnel)"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "cloudflare_account_id" {
|
|
description = "Cloudflare account ID"
|
|
type = string
|
|
sensitive = true
|
|
}
|