Files
infrastructure/servers/legion/voidstash.tf
T
Will Anderson b8b33e870f voidstash.xyz: add Cloudflare zone, CNAME records, and tunnel ingress rules
Register voidstash.xyz as the private media stack domain.
- DNS delegated from Porkbun to Cloudflare nameservers
- stash.voidstash.xyz and whisparr.voidstash.xyz CNAME to legion tunnel
- Tunnel ingress rules added for both subdomains → Traefik
2026-04-11 12:47:38 -05:00

25 lines
694 B
Terraform

# voidstash.xyz — private media stack (Stash + Whisparr)
# Zone created via API: ba74d72edbea8023ff4ed6cb27487154
# Nameservers delegated to Cloudflare from Porkbun
data "cloudflare_zone" "voidstash" {
name = "voidstash.xyz"
}
# CNAME records → Cloudflare tunnel (proxied)
resource "cloudflare_record" "stash" {
zone_id = data.cloudflare_zone.voidstash.id
name = "stash"
type = "CNAME"
content = "${var.cloudflare_tunnel_id}.cfargotunnel.com"
proxied = true
}
resource "cloudflare_record" "whisparr" {
zone_id = data.cloudflare_zone.voidstash.id
name = "whisparr"
type = "CNAME"
content = "${var.cloudflare_tunnel_id}.cfargotunnel.com"
proxied = true
}