Skip to content

Commit

Permalink
Used the variable name for vm_size rather than hardcoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman Shah committed Apr 6, 2022
1 parent 163fa70 commit 075ead1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cluster-setup-files/terraform/aks/aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "azurerm_kubernetes_cluster" "k8s" {
default_node_pool {
name = "agentpool"
node_count = var.agent_count
vm_size = "standard_e2as_v5"
vm_size = var.vm_size
}

linux_profile {
Expand All @@ -28,10 +28,6 @@ resource "azurerm_kubernetes_cluster" "k8s" {
type = "SystemAssigned"
}

network_profile {
load_balancer_sku = "Standard"
network_plugin = "kubenet"
}

tags = {
Environment = "Development"
Expand Down

0 comments on commit 075ead1

Please sign in to comment.