generated from hajowieland/terraform-digitalocean-k8s
-
Notifications
You must be signed in to change notification settings - Fork 7
/
variables.tf
74 lines (62 loc) · 1.77 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
variable "enable_microsoft" {
description = "Enable / Disable Microsoft Azure k8s (e.g. `true`)"
type = bool
default = true
}
variable "enable_logs" {
description = "Enable azure log analtics for container logs"
type = bool
default = false
}
variable "random_cluster_suffix" {
description = "Random 6 byte hex suffix for cluster name"
type = string
default = ""
}
variable "ssh_public_key" {
description = "Path to your SSH public key (e.g. `~/.ssh/id_rsa.pub`)"
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "az_client_id" {
description = "Azure Service Principal appId"
type = string
}
variable "az_client_secret" {
description = "Azure Service Principal password"
type = string
}
variable "az_tenant_id" {
description = "Azure Service Principal tenant"
type = string
}
variable "aks_region" {
description = "AKS region (e.g. `West Europe`) -> `az account list-locations --output table`"
type = string
default = "West Europe"
}
variable "aks_name" {
description = "AKS cluster name (e.g. `k8s-aks`)"
type = string
default = "k8s"
}
variable "aks_nodes" {
description = "AKS Kubernetes worker nodes (e.g. `2`)"
type = number
default = 2
}
variable "aks_node_type" {
description = "AKS node pool instance type (e.g. `Standard_D1_v2` => 1vCPU, 3.75 GB RAM)"
type = string
default = "Standard_D1_v2"
}
variable "aks_pool_name" {
description = "AKS agent node pool name (e.g. `k8s-aks-nodepool`)"
type = string
default = "k8snodepool"
}
variable "aks_node_disk_size" {
description = "AKS node instance disk size in GB (e.g. `30` => minimum: 30GB, maximum: 1024)"
type = number
default = 30
}