summaryrefslogtreecommitdiffstats
path: root/k8s_cluster/variables.tf
blob: dca2f8289db2ff31778c6c549f9fcbd9a2b5470d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
variable "libvirt_provider_uri" {
  type        = string
  description = "Libvirt provider's URI"
  default     = "qemu:///system"
}

variable "vm_ssh_private_key" {
  type        = string
  description = "Location of SSH private key for VMs"
}

variable "vm_image_source" {
  type        = string
  description = "Image source, which can be path on host's filesystem or URL."
}

variable "control_plane_count" {
  type = number
  description = "The amount of initial control-plane nodes"
  default = 2
}

variable "node_count" {
  type = number
  description = "The amount of initial worker nodes"
  default = 2
}

variable "load_balancer_count" {
  type = number
  description = "The amount of initial load balancers"
  default = 1
}