-
Notifications
You must be signed in to change notification settings - Fork 35
/
variables.tf
133 lines (106 loc) · 3.18 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
variable "resource_group_name" {
description = "Name of the resource group."
default = "aksrg1"
}
variable "location" {
description = "Location of the cluster."
default = "Central US"
}
variable "aks_service_principal_app_id" {
description = "Application ID/Client ID of the service principal. Used by AKS to manage AKS related resources on Azure like vms, subnets."
default = ""
}
variable "aks_service_principal_client_secret" {
description = "Secret of the service principal. Used by AKS to manage Azure."
default = ""
}
variable "aks_service_principal_object_id" {
description = "Object ID of the service principal."
default = ""
}
variable "virtual_network_name" {
description = "Virtual network name"
default = "aksVirtualNetwork"
}
variable "virtual_network_address_prefix" {
description = "Containers DNS server IP address."
default = "15.0.0.0/8"
}
variable "aks_subnet_name" {
description = "AKS Subnet Name."
default = "kubesubnet"
}
variable "aks_subnet_address_prefix" {
description = "Containers DNS server IP address."
default = "15.0.0.0/16"
}
variable "app_gateway_subnet_address_prefix" {
description = "Containers DNS server IP address."
default = "15.1.0.0/16"
}
variable "app_gateway_name" {
description = "Name of the Application Gateway."
default = "ApplicationGateway1"
}
variable "app_gateway_sku" {
description = "Name of the Application Gateway SKU."
default = "Standard_v2"
}
variable "app_gateway_tier" {
description = "Tier of the Application Gateway SKU."
default = "Standard_v2"
}
variable "aks_name" {
description = "Name of the AKS cluster."
default = "aks-cluster1"
}
variable "aks_dns_prefix" {
description = "Optional DNS prefix to use with hosted Kubernetes API server FQDN."
default = "aks"
}
variable "aks_agent_os_disk_size" {
description = "Disk size (in GB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
default = 40
}
variable "aks_agent_count" {
description = "The number of agent nodes for the cluster."
default = 3
}
variable "aks_agent_vm_size" {
description = "The size of the Virtual Machine."
default = "Standard_D3_v2"
}
variable "kubernetes_version" {
description = "The version of Kubernetes."
default = "1.11.5"
}
variable "aks_service_cidr" {
description = "A CIDR notation IP range from which to assign service cluster IPs."
default = "10.0.0.0/16"
}
variable "aks_dns_service_ip" {
description = "Containers DNS server IP address."
default = "10.0.0.10"
}
variable "aks_docker_bridge_cidr" {
description = "A CIDR notation IP for Docker bridge."
default = "172.17.0.1/16"
}
variable "aks_enable_rbac" {
description = "Enable RBAC on the AKS cluster. Defaults to false."
default = "false"
}
variable "vm_user_name" {
description = "User name for the VM"
default = "vmuser1"
}
variable "public_ssh_key_path" {
description = "Public key path for SSH."
default = "~/.ssh/id_rsa.pub"
}
variable "tags" {
type = map(string)
default = {
source = "terraform"
}
}