variables.tf 817 Bytes
# @label "input Image Name"
# @group "Basic"
variable "image" {
  type        = string
  description = "Docker image name"
}


# @label "Ports include container_port and service ports"
# @group "Basic"
variable "ports" {
  type        = list(number)
  description = "Service ports to expose"
  default     = []
}


# @label "Deployment Name"
# @group "Advanced"
variable "name" {
  type        = string
  description = "Name of the deployment resource. Auto-generated if empty."
  default     = ""
}

# @label "Namespace"
# @group "Advanced"
variable "namespace" {
  type        = string
  description = "Namespace to deploy. Auto-generated if empty."
  default     = "default"
}

# @label "Label"
# @group "Advanced"
variable "labels" {
  type        = list(string)
  description = "labels list"
  default     = []
}