Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ resource "azurerm_kubernetes_cluster" "cloudcommons" {
os_disk_size_gb = var.node_pool_os_disk_size_gb
vnet_subnet_id = local.cluster_subnet_id
enable_auto_scaling = var.auto_scaling_enable
min_count = var.auto_scaling_min_count
max_count = var.auto_scaling_max_count
min_count = var.auto_scaling_enable == true ? var.auto_scaling_min_count : 0
max_count = var.auto_scaling_enable == true ? var.auto_scaling_max_count : 0
}

linux_profile {
Expand Down Expand Up @@ -67,8 +67,8 @@ resource "azurerm_kubernetes_cluster" "cloudcommons" {
}

tags = {
app = "${var.app}"
environment = "${var.environment}"
creator = "${var.creator}"
app = var.app
environment = var.environment
creator = var.creator
}
}