Skip to content

Commit 918b353

Browse files
committed
Update aks_node_pool_vm_size local variable to provide a default value
1 parent 9786b23 commit 918b353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ data "http" "current_ip" {
6767

6868
locals {
6969
name = "${var.environment}${random_pet.example.id}${random_integer.example.result}"
70-
aks_node_pool_vm_size = var.aks_node_pool_vm_size
70+
aks_node_pool_vm_size = var.aks_node_pool_vm_size != "" ? var.aks_node_pool_vm_size : "Standard_D2s_v4"
7171
deploy_azure_cosmosdb = var.deploy_azure_cosmosdb == "true" ? true : false
7272
default_cosmosdb_account_kind = "GlobalDocumentDB"
7373
cosmosdb_account_kind = var.cosmosdb_account_kind != "" ? var.cosmosdb_account_kind : local.default_cosmosdb_account_kind

0 commit comments

Comments
 (0)