Skip to content

Commit

Permalink
fix: Actually use node_pool_vm_count (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshg authored Dec 19, 2023
1 parent 5dae851 commit 00274f1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions modules/app_aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ resource "azurerm_kubernetes_cluster" "default" {
}

default_node_pool {
name = "default"
node_count = 2
vm_size = "Standard_D4s_v3"
vnet_subnet_id = var.cluster_subnet_id
type = "VirtualMachineScaleSets"
enable_auto_scaling = false
zones = ["1", "2"]
name = "default"
node_count = var.node_pool_vm_count
vm_size = var.node_pool_vm_size
vnet_subnet_id = var.cluster_subnet_id
type = "VirtualMachineScaleSets"
enable_auto_scaling = false
zones = ["1", "2"]
temporary_name_for_rotation = "rotating"
}

identity {
Expand Down

0 comments on commit 00274f1

Please sign in to comment.