variable "dataplane_accounts" {
  type    = list(string)
  default = []

  validation {
    condition     = length(var.dataplane_accounts) > 0
    error_message = "at least one dataplane account needs to be provided"
  }
}

variable "env" {
  type    = string
  default = "dev"
}

variable "cloud_region" {
  type = string
}

variable "logical_region_name" {
  type = string
}

variable "service_plan" {
  type    = string
  default = "Premium"

  validation {
    condition     = contains(["Premium", "EssentialV2"], var.service_plan)
    error_message = "service_plan must be Premium or EssentialV2."
  }
}

variable "zone_ids" {
  type = list(string)
}
