-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
63 lines (52 loc) · 1.32 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
variable "hcloud_token" {
description = "Hetzner Cloud API Token"
sensitive = true
}
variable "cluster_name" {
description = "Name of your cluster"
}
variable "cluster_topology" {
type = list(object({
id = number
name = string
size = optional(string, "cpx11")
}))
description = "How many nodes do you want in your cluster?"
default = []
}
variable "storage_size" {
description = "How big is the storage dedicated to the cluster"
}
variable "protect_leader" {
description = "Protect the node marked with database-leader"
default = true
}
variable "image" {
description = "Image type of choice default is Ubuntu 22.04"
default = "ubuntu-22.04"
}
variable "region" {
description = "Region of your cluster"
default = "eu-central"
}
variable "location" {
description = "Location of your server"
default = "fsn1"
}
variable "bastion_size" {
description = "Size of the bastion instance defaults to Basic 512MB instance https://slugs.do-api.dev/"
default = "cx11"
}
variable "node_size" {
description = "Type of server you want to provision"
default = "cpx11"
}
variable "subnet_ip_range" {
description = "Subnet ip range"
default = "10.0.1.0/24"
}
variable "ssh_keys" {
type = list(string)
description = "List of ssh key names"
default = []
}