variable "aws_region" {
  default     = "us-east-1"
  description = "AWS region"
}

variable "environment" {
  description = "Available values:  dev, qa, prod."
  default     = "qa"
}

variable "application_family" {
  default = "fansifter"
}

variable "sendgrid_dns_records" {
  type = list(object({
    type  = string
    name  = string
    value = string
  }))
  default = [
    // Fansifter-QA
    { type = "CNAME", name = "url377.email.qa-fansifter.theorchard.io", value = "sendgrid.net" },
    { type = "CNAME", name = "36739990.email.qa-fansifter.theorchard.io", value = "sendgrid.net" },
    { type = "CNAME", name = "em8109.email.qa-fansifter.theorchard.io", value = "u36739990.wl241.sendgrid.net" },
    { type = "CNAME", name = "s1._domainkey.email.qa-fansifter.theorchard.io", value = "s1.domainkey.u36739990.wl241.sendgrid.net" },
    { type = "CNAME", name = "s2._domainkey.email.qa-fansifter.theorchard.io", value = "s2.domainkey.u36739990.wl241.sendgrid.net" },
    { type = "TXT", name = "_dmarc.email.qa-fansifter.theorchard.io", value = "v=DMARC1; p=none;" },
    { type = "A", name = "o1.ptr9838.email.qa-fansifter.theorchard.io", value = "159.183.10.114" },
    { type = "MX", name = "unsub.email.qa-fansifter.theorchard.io", value = "10 mx.sendgrid.net." },
    { type = "MX", name = "reply.email.qa-fansifter.theorchard.io", value = "10 mx.sendgrid.net." },
  ]
}
