variable "aws_region" {
  default = "us-east-1"
}

variable "environment" {
  default = "prod"
}

variable "a_records" {
  description = "A records for the domain"
  type = map(object({
    records = list(string)
  }))
  default = {
    "insights.pdestorage.com" = {
      records = ["65.52.146.52"]
    },
    "www.insights.pdestorage.com" = {
      records = ["65.52.146.52"]
    }, # https://joturl.zendesk.com/hc/en-us/articles/360025031851-Can-I-use-my-own-custom-domain-for-my-links-How-can-I-register-and-setup-a-custom-branded-domain-for-my-JotUrl-links
    "awal.pdestorage.com" = {
      records = ["65.52.146.52"]
    },
    "www.awal.pdestorage.com" = {
      records = ["65.52.146.52"]
    }, # https://joturl.zendesk.com/hc/en-us/articles/360025031851-Can-I-use-my-own-custom-domain-for-my-links-How-can-I-register-and-setup-a-custom-branded-domain-for-my-JotUrl-links
    "sony.pdestorage.com" = {
      records = ["65.52.146.52"]
    },
    "www.sony.pdestorage.com" = {
      records = ["65.52.146.52"]
    }, # https://joturl.zendesk.com/hc/en-us/articles/360025031851-Can-I-use-my-own-custom-domain-for-my-links-How-can-I-register-and-setup-a-custom-branded-domain-for-my-JotUrl-links
  }
}

variable "cname_records" {
  description = "CNAME records for the domain"
  type = map(object({
    records = list(string)
  }))
  default = {}
}

variable "acm_dns_validation_records" {
  description = "ACM DNS validation records for the domain"
  type = map(object({
    records = list(string)
  }))
  default = {}
}

variable "txt_records" {
  description = "TXT records for the domain"
  type = map(object({
    records = list(string)
  }))
  default = {}
}
