# variables.tf

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

# SSH Public Key Path
variable "ssh_public_key_path" {
  description = "Path to the SSH public key file"
  type        = string
}

# VPC Name
variable "vpc_name" {
  description = "Name of the VPC"
  type        = string
  default     = "k8s-vpc"
}

# Subnet Name
variable "subnet_name" {
  description = "Name of the Subnet"
  type        = string
  default     = "k8s-subnet"
}

# Subnet CIDR Block
variable "subnet_cidr" {
  description = "CIDR block for the subnet"
  type        = string
  default     = "10.240.0.0/24"
}

# Zone
variable "zone" {
  description = "IBM Cloud Zone"
  type        = string
  default     = "us-south-1"
}

# Kubernetes Master Node Profile
variable "master_profile" {
  description = "Profile for the Kubernetes master node"
  type        = string
  default     = "bx2-4x16"
}

# Kubernetes Worker Node Profile
variable "worker_profile" {
  description = "Profile for the Kubernetes worker nodes"
  type        = string
  default     = "bx2-2x8"
}

# Number of Worker Nodes
variable "worker_count" {
  description = "Number of Kubernetes worker nodes"
  type        = number
  default     = 2
}

# Kubernetes Node Image ID
variable "node_image_id" {
  description = "Image ID for the Kubernetes nodes"
  type        = string
  default     = "r022-7c12e62d-1ff3-4b98-b1f2-f3c8a5d06b0f" # Replace with the required image ID
}