caa.tf 367 Bytes
Newer Older
1 2 3 4 5
# resource "cloudflare_record" "caa" {
#   count   = length(var.caa_records)
#   zone_id = var.zone_id
#   name    = element(var.caa_records[count.index], 0)
#   type    = "CAA"
Mike Horwath's avatar
Mike Horwath committed
6

7 8 9 10 11 12
#   data = {
#     flags = element(var.caa_records[count.index], 1)
#     tag   = element(var.caa_records[count.index], 2)
#     value = element(var.caa_records[count.index], 3)
#   }
# }