-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
84 lines (77 loc) · 2.59 KB
/
Copy pathvariables.tf
File metadata and controls
84 lines (77 loc) · 2.59 KB
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
# ======================================================================================
# General
# ======================================================================================
variable "tags" {
type = map(any)
}
# ======================================================================================
# Resource Group
# ======================================================================================
variable "resource_group_name" {
description = "Name of the resource group in which the AKS will be created"
type = string
}
# ======================================================================================
# Active Directory Group
# ======================================================================================
variable "aks_admin_group" {
description = "Information required for the creation or the retrieving of the admin group"
type = object({
is_created = bool
name = string
description = string
id = string
})
}
# ======================================================================================
# AKS
# ======================================================================================
variable "aks" {
description = "Information about the aks"
type = object({
name = string
version = string
network_plugin = string
log_analytics_workspace_id = string
default_node_pool = object({
name = string
node_count = number
vm_size = string
})
automatic_channel_upgrade = string
enable_auto_maintenance = bool
maintenance_window_day = string
maintenance_window_hour = list(number)
})
}
variable "aks_node_pools" {
description = "Map of node pool to create on the aks cluster"
type = map(object({
enable_auto_scaling = bool
vm_size = string
node_count = number
min_count = number
max_count = number
os_disk_type = string
zones = list(string)
}))
}
# ======================================================================================
# Network
# ======================================================================================
variable "dns_zone" {
description = "Information about the dns zone to register the AKS"
type = object({
name = string
resource_group_name = string
})
}
variable "aks_network" {
description = "Information about the network of the aks"
type = object({
rg_name = string
vnet_name = string
snet_name = string
rt_name = string
})
}