Skip to content

Commit 6e48f4f

Browse files
authored
Azure changes (#393)
1 parent 9e9f1b7 commit 6e48f4f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

infra/azure/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ terraform {
99

1010
provider "azurerm" {
1111
features {}
12-
13-
#https://github.com/hashicorp/terraform-provider-azurerm/issues/13776
12+
subscription_id = "9a42948e-6087-47d2-bdb8-b530d558db22"
13+
1414
/* default_tags {
1515
tags = local.tags
1616
} */

modules/azure/k8s/main.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ resource "azurerm_kubernetes_cluster" "k8s" {
1818
default_node_pool {
1919
name = replace("${substr(var.cluster_name, 0, min(length("${var.cluster_name}"), 6))}", "-", "")
2020
zones = [1]
21+
node_count = 3
2122
vnet_subnet_id = var.vnet_subnet
22-
enable_auto_scaling = true
23-
min_count = 2
24-
max_count = 7
2523
vm_size = var.instance_type
2624
type = "VirtualMachineScaleSets"
2725
os_disk_size_gb = 50
@@ -56,4 +54,4 @@ resource "azurerm_role_assignment" "enable_azure_internal_lb" {
5654
scope = data.azurerm_resource_group.this.id
5755
role_definition_name = "Network Contributor"
5856
principal_id = azurerm_kubernetes_cluster.k8s.identity.0.principal_id
59-
}
57+
}

0 commit comments

Comments
 (0)