generated from bayudwiyansatria/projects
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
42 lines (35 loc) · 1.04 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
variable "hcloud_token" {
sensitive = true
type = string
description = "Hcloud API Key"
}
#-----------------------------------------------------------------------------------------------------------------------
# Servers
#-----------------------------------------------------------------------------------------------------------------------
variable "server_count" {
type = number
description = "Number of servers"
default = 1
}
variable "server_name" {
type = string
}
variable "server_type" {
type = string
description = "For more types have a look at https://www.hetzner.de/cloud"
default = "cx11"
}
variable "server_location" {
type = string
description = "Server location"
default = "hel1"
}
variable "server_distro" {
type = string
description = "Predefined Image that will be used to spin up the machines"
default = "ubuntu-20.04"
}
variable "server_keys" {
type = list(string)
description = "SSH Public Key ID"
}