Files
rancher-cluster/variables.tf
T
Matthias Hinrichs cf7ab67255 initial commit
2025-07-16 23:49:03 +02:00

41 lines
1016 B
Terraform

# Cluster Basis-Konfiguration
variable "cluster_name" {
description = "Name des zu erstellenden Clusters"
type = string
}
variable "cluster_environment" {
description = "Umgebung des Clusters (dev/test/prod)"
type = string
validation {
condition = contains(["dev", "test", "prod"], var.cluster_environment)
error_message = "Erlaubte Werte für cluster_environment sind: dev, test, prod"
}
}
variable "cluster_kubernetes_version" {
description = "Kubernetes Version für den Cluster"
type = string
}
# Harvester-spezifische Konfiguration
variable "harvester_cluster_name" {
description = "Name des Harvester Clusters (z.B. 'c-bhq26')"
type = string
}
variable "cluster_vm_namespace" {
description = "Namespace für die VMs im Cluster"
type = string
}
variable "cluster_vm_network" {
description = "Netzwerk für die VMs"
type = string
}
variable "cluster_vm_image" {
description = "Image für die VMs"
type = string
}