-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
100 lines (82 loc) · 2.35 KB
/
variables.tf
File metadata and controls
100 lines (82 loc) · 2.35 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Cluster Configuration
variable "name" {
description = "Name of the AKS cluster"
type = string
}
variable "resource_group_name" {
description = "Name of the resource group"
type = string
}
variable "location" {
description = "Azure region where resources will be created"
type = string
}
variable "kubernetes_version" {
description = "Kubernetes version for the AKS cluster"
type = string
}
# System Node Pool Configuration
variable "vm_size" {
description = "VM size for the system node pool"
type = string
}
variable "system_node_count" {
description = "Number of nodes in the system node pool"
type = number
}
variable "system_node_zones" {
description = "Availability zones for the system node pool"
type = list(string)
}
# PostgreSQL Zone 1 Node Pool Configuration
variable "postgres_vm_size" {
description = "VM size for PostgreSQL node pools"
type = string
}
variable "postgreszone1_node_count" {
description = "Number of nodes in PostgreSQL Zone 1 node pool"
type = number
}
variable "postgreszone1_zones" {
description = "Availability zones for PostgreSQL Zone 1 node pool"
type = list(string)
}
# PostgreSQL Zone 2 Node Pool Configuration
variable "postgreszone2_node_count" {
description = "Number of nodes in PostgreSQL Zone 2 node pool"
type = number
}
variable "postgreszone2_zones" {
description = "Availability zones for PostgreSQL Zone 2 node pool"
type = list(string)
}
# Resource Tags and Metadata
variable "tags" {
description = "Tags to apply to all resources"
type = map(string)
}
variable "agents_tags" {
description = "Tags to apply to agent nodes"
type = map(string)
}
variable "owner" {
description = "Owner of the resources"
type = string
}
variable "vnet_address_space" {
description = "Address space for the virtual network"
type = list(string)
}
variable "subnet_address_prefixes" {
description = "Address prefixes for the subnet"
type = list(string)
}
# Node Pool Upgrade Settings
variable "node_pool_max_surge" {
description = "Maximum number of nodes that can be created above the desired count during an upgrade"
type = string
}
variable "postgres_storage_size" {
description = "Size of the storage pool for PostgreSQL nodes"
type = string
}