Jafner.net/homelab/sellswords/cloudflare/jafner.chat.tf

19 lines
435 B
Terraform
Raw Normal View History

resource "cloudflare_record" "any_jafner_chat" {
content = chomp(data.http.myip.response_body)
name = "*"
proxied = false
ttl = 1
type = "A"
zone_id = data.cloudflare_zone.jafner_chat.id
}
resource "cloudflare_record" "root_jafner_chat" {
content = chomp(data.http.myip.response_body)
name = "jafner.chat"
proxied = false
ttl = 1
type = "A"
zone_id = data.cloudflare_zone.jafner_chat.id
}