timohirt / terraform-provider-hetznerdns

Terraform provider for Hetzner DNS
Mozilla Public License 2.0
109 stars 21 forks source link

Convert list of values to multiple records #51

Open kimdre opened 1 year ago

kimdre commented 1 year ago

I would love to have the abillity to use lists to generate (multiple) records like so for example:

resource "hetznerdns_record" "domain_com-NS" {
  zone_id = hetznerdns_zone.domain_com.id
  name = "@"
  type = "NS"
  value = [ "helium.ns.hetzner.de.", "hydrogen.ns.hetzner.com.", "oxygen.ns.hetzner.com." ]