-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
55 lines (47 loc) · 1.18 KB
/
variables.tf
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
variable "os_img_url" {
description = "URL to the OS image"
type = string
default = "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
}
variable "pool_path" {
description = "Pool path to store volumes"
type = string
# /var/lib/libvirt/images/
default = "/home/cluster_storage"
}
variable "networks" {
description = "List of network ranges"
type = list(string)
default = ["10.17.3.0/24"]
}
variable "ssh_admin" {
description = "Admin user with ssh access"
type = string
default = "admin"
}
variable "ssh_private_key" {
description = "Private key for SSH"
type = string
# "~/.ssh/id_ed25519"
default = "id_ed25519"
}
variable "ssh_keys" {
description = "List of public ssh keys"
type = list(string)
default = []
}
variable "controlplane_count" {
description = "Count of controle-plane vms to make"
type = number
default = 1
}
variable "worker_count" {
description = "Count of worker vms to make"
type = number
default = 2
}
variable "http_proxy" {
description = "apt http_proxy"
type = string
default = ""
}