terraform-provider-netlify icon indicating copy to clipboard operation
terraform-provider-netlify copied to clipboard

[Feature Request] dns_record resource

Open WhileLoop opened this issue 5 years ago • 1 comments

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

WhileLoop avatar May 04 '20 02:05 WhileLoop

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.

bertvansteen avatar May 11 '20 07:05 bertvansteen