Timo Goosen

Github pages blog

View My GitHub Profile

CloudFlare Terraform

Notes on using Cloudflare Provider for Terraform

SRV Record:

Example from article:


resource "cloudflare_record" "_sip_tls" {
  zone_id = var.cloudflare_zone_id
  name    = "_sip._tls"
  type    = "SRV"

  data {
    service  = "_sip"
    proto    = "_tls"
    name     = "terraform-srv"
    priority = 0
    weight   = 0
    port     = 443
    target   = "example.com"
  }
}