terraform-provider-netlify
terraform-provider-netlify copied to clipboard
[Feature Request] dns_record resource
Description
Having a DNS record resource would be nice.
New or Affected Resource(s)
- netlify_dns_record
Potential Terraform Configuration
resource "netlify_dns_record" "mysite" {
hostname = "mysite.com"
priority = 1
ttl = 300
type = "CNAME"
value = "mysite.netlify.app"
}
References
https://godoc.org/github.com/netlify/open-api/go/models#DNSRecord
A few days ago they merged the swagger and go code related to the DnsZone API, I adopted the PR because I wanted to be able to manage the dns records via a infrastructure-as-code tool like Terraform.
I'm not sure if my schedule allows me to build it myself in the near future but If there is interest I might consider.