variable "cloudflare_zone" {
  type = string
}

variable "patterns" {
  type        = list(string)
  description = "The DNS pattern list to deploy the maintenance page to."
}

variable "enabled" {
  type        = bool
  default     = true
  description = "Flag to create/delete the worker route."
}

variable "allowed_ips" {
  type        = string
  default     = "null"
  description = "The IPs that are allowed to bypass the maintenance page."
}

variable "allowed_path" {
  type        = string
  default     = "null"
  description = "The paths that are allowed defined with a regex expression to bypass the maintenance page."
}

variable "account_id" {
  type = string
  description = "The Cloudflare account ID."
}
