forked from linode/terraform-linode-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
53 lines (43 loc) · 1.07 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
variable "docker_version" {
default = "17.03.0~ce-0~ubuntu-xenial"
description = "Use 17.12.0~ce-0~ubuntu for x86_64 and 17.03.0~ce-0~ubuntu-xenial for arm"
}
variable "kubeadm_version" {
default = "1.11.3-00"
}
variable "k8s_version" {
default = "stable-1.11"
}
variable "region" {
default = "eu-west"
description = "Values: us-east ap-east"
}
variable "server_type_master" {
default = "g6-standard-2"
description = "Values: g6-standard-2 g6-standard-4"
}
variable "server_type_node" {
default = "g6-standard-2"
description = "Values: g6-standard-2 g6-standard-4"
}
variable "nodes" {
default = 1
}
variable "linode_group" {
default = "k8-terraform-test"
}
variable "ssh_private_key" {
type = "string"
default = "~/.ssh/id_rsa"
description = "The path to your private key"
}
variable "ssh_public_key" {
type = "string"
default = "~/.ssh/id_rsa.pub"
description = "The path to your public key"
}
resource "random_string" "password" {
length = 16
special = true
override_special = "/@\" "
}