This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
87 lines (68 loc) · 1.59 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
variable "dns_domain" {
description = "The TLD for the DNS Zone"
}
variable "cluster_name" {
description = "prefix for cloud resources"
}
variable "apiserver_alternative_names" {
description = "subject alternative names for the API Server signing cert."
default = []
type = list(string)
}
variable "worker_os" {
description = "OS to run on worker machines"
# valid choices are:
# * ubuntu
# * centos
default = "ubuntu"
}
variable "ssh_port" {
description = "SSH port to be used to provision instances"
default = 22
}
variable "ssh_username" {
description = "SSH user, used only in output"
default = "root"
}
variable "ssh_private_key_file" {
description = "SSH private key file used to access instances"
default = ""
}
variable "ssh_agent_socket" {
description = "SSH Agent socket, default to grab from $SSH_AUTH_SOCK"
default = "env:SSH_AUTH_SOCK"
}
# Provider specific settings
variable "control_plane_replicas" {
default = 3
}
variable "control_plane_type" {
default = "cx21"
}
variable "worker_type" {
default = "cx21"
}
variable "dist_upgrade_on_boot" {
default = false
}
variable "lb_type" {
default = "lb11"
}
variable "datacenter" {
default = "nbg1"
}
variable "image" {
default = "ubuntu-20.04"
}
variable "ip_range" {
default = "192.168.0.0/16"
description = "ip range to use for private network"
}
variable "network_zone" {
default = "eu-central"
description = "network zone to use for private network"
}
variable "cloudflare_zone_id" {
description = "ZoneID of the cloudflare DNS zone"
default = ""
}