Dynamic block for aws route53

Hi, Is it possible to do dynamic block method for route53 to iterate through name, records and type.

resource "aws_route53_record" "redis" {
  zone_id = aws_route53_zone.redis.id
  name    = "redis-one-writer"
  type    = "CNAME"
  ttl     = "60"
  records = ["${var.redis-writer-dns}"]
}

Hi @Sya,

The shared module terraformdns/route53-recordsets/aws is implemented in essentially the way you are describing, so you may be able to address your need either using that module directly or by referring to its source code as an example and implementing a similar pattern for yourself directly.

Thanks @apparentlymart