variable "zone_name" {
  description = "The Route 53 zone name"
}

variable "environment" {
  description = "The name of the environment"
}

variable "service_name" {
  description = "The name of the service"
}

variable "value" {
  description = "The value of the record"
}

variable "service_type" {
  description = "The type of service"
  default = "fargate"
  validation {
    condition = contains(["fargate"], var.service_type)
    error_message = "Only fargate is supported for service_type currently"
  }
}

variable "ttl" {
  type = number
  description = "The TTL for the records"
  default = 60
}

variable "allow_overwrite" {
  description = "Allow overwriting existing records"
  default     = false
}
