-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
100 lines (84 loc) · 2.13 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
variable "azure_location" {
description = "Azure location"
type = string
default = "Australia East"
}
variable "resource_group" {
description = "Resource group name"
type = string
default = "ontoexample_resourcegroup"
}
variable "aks_cluster_admins_aad" {
description = "Azure AD group name for AKS cluster admins"
type = string
}
variable "aks_cluster_name" {
description = "Kubernetes cluster name"
type = string
default = "onto-exampke-k8s"
}
variable "agent_size_default" {
description = "Default Kubernetes nodepool for small pods"
type = string
default = "Standard_B2ms"
}
variable "agent_size_large" {
description = "Kubernetes nodepool for memory/cpu hungry pods"
type = string
default = "Standard_D8s_v4"
}
variable "enable_app_gateway_ingress" {
description = "Enable the Application Gateway Ingress Controller in AKS"
type = bool
default = false
}
variable "aks_environment" {
description = "The AKS Environment type"
type = string
default = "Production"
}
variable "log_analytics_workspace_name" {
description = "Log Analytics Workspace name"
type = string
default = "ontoexample-k8s-logs"
}
variable "disk_type" {
description = "Disk storage type"
type = string
default = "Premium_LRS"
}
variable "onto_disk_capacity" {
description = "Disk capacity (GB)"
type = number
default = 512
}
variable "acr_enabled" {
description = "Is ACR installed by terraform"
type = bool
default = true
}
variable "setup_db" {
description = "Set up external Postgres Database"
type = bool
default = false
}
variable "database_sku" {
description = "Database SKU"
type = string
default = "B_Gen5_2"
}
variable "database_storage" {
description = "Database storage (MB)"
type = number
default = 5120
}
variable "database_user" {
description = "Database user"
type = string
default = "ontoserver"
}
variable "database_password" {
description = "Database password"
type = string
sensitive = true
}