This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
forked from rancher/quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
93 lines (77 loc) · 2.23 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
88
89
90
91
92
93
# Variables for Azure infrastructure module
variable "azure_subscription_id" {
type = string
description = "Azure subscription id under which resources will be provisioned"
}
variable "azure_client_id" {
type = string
description = "Azure client id used to create resources"
}
variable "azure_client_secret" {
type = string
description = "Client secret used to authenticate with Azure apis"
}
variable "azure_tenant_id" {
type = string
description = "Azure tenant id used to create resources"
}
variable "azure_location" {
type = string
description = "Azure location used for all resources"
default = "East US"
}
variable "prefix" {
type = string
description = "Prefix added to names of all resources"
default = "quickstart"
}
variable "instance_type" {
type = string
description = "Instance type used for all linux virtual machines"
default = "Standard_DS2_v2"
}
variable "docker_version" {
type = string
description = "Docker version to install on nodes"
default = "19.03"
}
variable "rancher_kubernetes_version" {
type = string
description = "Kubernetes version to use for Rancher server cluster"
default = "v1.22.9+k3s1"
}
variable "workload_kubernetes_version" {
type = string
description = "Kubernetes version to use for managed workload cluster"
default = "v1.22.9-rancher1-1"
}
variable "cert_manager_version" {
type = string
description = "Version of cert-manager to install alongside Rancher (format: 0.0.0)"
default = "1.7.1"
}
variable "rancher_version" {
type = string
description = "Rancher server version (format: v0.0.0)"
default = "2.6.6"
}
# Required
variable "rancher_server_admin_password" {
type = string
description = "Admin password to use for Rancher server bootstrap, min. 12 characters"
}
# Required
variable "add_windows_node" {
type = bool
description = "Add a windows node to the workload cluster"
default = false
}
# Required
variable "windows_admin_password" {
type = string
description = "Admin password to use for the Windows VM"
}
# Local variables used to reduce repetition
locals {
node_username = "azureuser"
}