terraform-provider-hetznerdns
terraform-provider-hetznerdns copied to clipboard
Example for handling SRV records
Hello,
I have already checked the documentation and I was wondering if someone already had sucess to create a SRV record and could share any example.
Further it would be great then if it would be added to the Examples block in the README.
SRV are actually pretty simple, example for teamspeak:
resource "hetznerdns_record" "srv" {
zone_id = hetznerdns_zone.example.id
name = "_ts3._udp.ts"
value = "10 0 9987 ts.example.com."
type = "SRV"
ttl = 3600
}