-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvariables.tf
88 lines (70 loc) · 1.84 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
variable "azure_subscription_id" {
description = "Azure Subscription ID"
}
variable "azure_client_id" {
description = "Azure Client ID"
}
variable "azure_client_secret" {
description = "Azure Client Secret"
}
variable "azure_tenant_id" {
description = "Azure Tenant ID"
}
variable "azure_location" {
description = "Azure Location, e.g. North Europe"
default = "North Europe"
}
variable "resource_group_name" {
description = "Azure Resource Group Name"
default = "k8sexample"
}
variable "virtualnetworkname" {
description = "Name of the virtual network"
default = "k8sexample_vnet"
}
variable "cidr" {
description = "CIDR range of the VPC"
default = "172.20.0.0/16"
}
variable "cidr_subnet" {
description = "CIDR range of the only subnet in the VPC"
default = "172.20.10.0/24"
}
variable "acs_engine_config_file" {
description = "File name and location of the ACS Engine config file"
default = "k8s.json"
}
variable "acs_engine_config_file_rendered" {
description = "File name and location of the ACS Engine config file"
default = "k8s_rendered.json"
}
variable "master_vm_count" {
description = "Number of master VMs to create"
default = 1
}
variable "dns_prefix" {
description = "DNS prefix for the cluster"
}
variable "vm_size" {
description = "Azure VM type"
default = "Standard_A2"
}
variable "first_master_ip" {
description = "First consecutive IP address to be assigned to master nodes"
default = "172.20.10.10"
}
variable "worker_vm_count" {
description = "Number of worker VMs to initially create"
default = 1
}
variable "admin_user" {
description = "Administrative username for the VMs"
default = "azureuser"
}
variable "ssh_key" {
description = "SSH public key in PEM format to apply to VMs"
}
variable "cluster_name" {
description = "Name of the K8s cluster"
default = "k8sexample-cluster"
}