Skip to content

Commit

Permalink
fix aks version issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zalbiraw committed Oct 18, 2024
1 parent d6d4bc2 commit 337e1ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ resource "azurerm_resource_group" "this" {
resource "azurerm_kubernetes_cluster" "this" {
name = azurerm_resource_group.this.name
location = azurerm_resource_group.this.location
kubernetes_version = var.aks_version || null
kubernetes_version = var.aks_version
resource_group_name = azurerm_resource_group.this.name
dns_prefix = replace(azurerm_resource_group.this.name, "_", "-")

default_node_pool {
name = "this"
name = "default"
node_count = 1
vm_size = "Standard_B2s"
}
Expand Down
2 changes: 1 addition & 1 deletion aks/main.tfvars.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cluster_location = "westus"
aks_version = ""
aks_version = null
cluster_machine_type = "Standard_F4s_v2"
service_machine_type = ""
upstream_machine_type = ""
Expand Down

0 comments on commit 337e1ef

Please sign in to comment.