@@ -29,33 +29,50 @@ variable "dns_prefix" {
2929 default = " api"
3030}
3131
32- variable "agent_pool_profile_name " {
32+ variable "default_node_pool_name " {
3333 type = string
34- description = " Name of agent pool profile ."
34+ description = " Name of default node pool ."
3535 default = " default"
3636}
3737
38- variable "agent_pool_profile_count " {
38+ variable "default_node_pool_type " {
3939 type = string
40- description = " Number of worker nodes"
40+ description = " Type of default node pool. Defaults to VirtualMachineScaleSets, use AvailabilitySet for backwards compatibility with older clusters."
41+ default = " VirtualMachineScaleSets"
42+ }
43+
44+ variable "default_node_pool_enable_auto_scaling" {
45+ type = bool
46+ description = " Wether to enable auto scaling for the default node pool. Defaults to true."
47+ default = true
48+ }
49+
50+ variable "default_node_pool_min_count" {
51+ type = string
52+ description = " Min number of worker nodes"
4153 default = " 1"
4254}
4355
44- variable "agent_pool_profile_vm_size " {
56+ variable "default_node_pool_max_count " {
4557 type = string
46- description = " VM size of worker nodes"
47- default = " Standard_D1_v2 "
58+ description = " Max number of worker nodes"
59+ default = " 1 "
4860}
4961
50- variable "agent_pool_profile_os_type " {
62+ variable "default_node_pool_node_count " {
5163 type = string
52- description = " OS type of worker nodes"
53- default = " Linux "
64+ description = " Static number of worker nodes"
65+ default = " 1 "
5466}
5567
56- variable "agent_pool_profile_os_disk_size_gb" {
68+ variable "default_node_pool_vm_size" {
69+ type = string
70+ description = " VM size of worker nodes"
71+ default = " Standard_D1_v2"
72+ }
73+
74+ variable "default_node_pool_os_disk_size_gb" {
5775 type = string
5876 description = " Disk size of worker nodes (in GB)"
5977 default = " 30"
6078}
61-
0 commit comments