variable "ibmcloud_api_key" {
  description = "IBM Cloud API key"
  type        = string
}

variable "region" {
  description = "Region where cluster will be created"
  type        = string
  default     = "us-south"
}

variable "vpc_id" {
  description = "VPC ID for the cluster"
  type        = string
}

variable "zones" {
  description = "List of zones with subnet IDs"
  type = list(object({
    name      = string
    subnet_id = string
  }))
  default = []
}

variable "resource_group_id" {
  description = "Resource group ID"
  type        = string
}

variable "cluster_name" {
  description = "Name of the cluster"
  type        = string
  default     = "minimal-karpenter-test"
}

variable "kube_version" {
  description = "Kubernetes version"
  type        = string
  default     = "1.29.15"
}

variable "flavor" {
  description = "Worker node flavor"
  type        = string
  default     = "bx2.2x8"
}

variable "worker_count" {
  description = "Initial worker count"
  type        = number
  default     = 1
}