b8b33e870f
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
25 lines
694 B
Terraform
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
|
|
}
|