forked from rancher-archives/quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
64 lines (53 loc) · 1.53 KB
/
Copy pathvariables.tf
File metadata and controls
64 lines (53 loc) · 1.53 KB
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
# Variables for DO infrastructure module
variable "do_token" {
type = string
description = "DigitalOcean API token used to create infrastructure"
}
variable "do_region" {
type = string
description = "DigitalOcean region used for all resources"
default = "nyc1"
}
variable "prefix" {
type = string
description = "Prefix added to names of all resources"
default = "quickstart"
}
variable "droplet_size" {
type = string
description = "Droplet size used for all droplets"
default = "s-2vcpu-4gb"
}
variable "docker_version" {
type = string
description = "Docker version to install on nodes"
default = "19.03"
}
variable "rke_kubernetes_version" {
type = string
description = "Kubernetes version to use for Rancher server RKE cluster"
default = "v1.20.4-rancher1-1"
}
variable "workload_kubernetes_version" {
type = string
description = "Kubernetes version to use for managed workload cluster"
default = "v1.19.8-rancher1-1"
}
variable "cert_manager_version" {
type = string
description = "Version of cert-manager to install alongside Rancher (format: 0.0.0)"
default = "1.0.4"
}
variable "rancher_version" {
type = string
description = "Rancher server version (format: v0.0.0)"
default = "v2.5.7"
}
variable "rancher_server_admin_password" {
type = string
description = "Admin password to use for Rancher server bootstrap"
}
# Local variables used to reduce repetition
locals {
node_username = "root"
}