This repository has been archived by the owner on Apr 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
87 lines (66 loc) · 1.76 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
variable "azure_service_principal" {
type = "map"
description = "Service Principal for Node Templates and the Cloud Provider configration"
default = {
client_id = ""
client_secret = ""
subscription_id = ""
tenant_id = ""
}
}
variable "azure_region" {
type = "string"
description = "Azure region where all infrastructure will be provisioned."
default = "East US"
}
variable "azure_resource_group" {
type = "string"
description = "Name of the Azure Resource Group to be created for the network."
default = "rancher-group"
}
variable "administrator_username" {
type = "string"
description = "Administrator account name on the nodes."
}
variable "administrator_password" {
type = "string"
description = "Administrator password on the nodes."
}
variable "linux_node_vm_size" {
type = "string"
description = "Azure VM size of the linux nodes"
default = "Standard_DS2_v2"
}
variable "windows_node_vm_size" {
type = "string"
description = "Azure VM size of the windows worker nodes"
default = "Standard_DS2_v2"
}
variable "rancher_api_url" {
type = "string"
description = "Endpoint for the Rancher API"
}
variable "rancher_api_token" {
type = "string"
description = "API Token to access the Rancher API"
}
variable "control_plane_count" {
type = "string"
description = "Desired quantity of control plane nodes"
default = 1
}
variable "etcd_count" {
type = "string"
description = "Desired quantity of etcd nodes"
default = 1
}
variable "worker_count" {
type = "string"
description = "Desired quantity of Linux worker nodes"
default = 1
}
variable "windows_count" {
type = "string"
description = "Desired quantity of Windows worker nodes"
default = 1
}