Skip to content

upgrade AKS TF to 10.0.0 #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 2 additions & 3 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,19 @@ resource "azurerm_postgresql_flexible_server_firewall_rule" "allow_all" {

module "aks" {
source = "Azure/aks/azurerm"
version = "9.4.1"
version = "10.0.0"
resource_group_name = azurerm_resource_group.this.name
location = var.location
kubernetes_version = var.kubernetes_version
orchestrator_version = var.kubernetes_version
role_based_access_control_enabled = var.role_based_access_control_enabled
rbac_aad = var.rbac_aad
rbac_aad_azure_rbac_enabled = true
prefix = var.prefix
network_plugin = var.network_plugin
vnet_subnet_id = lookup(module.network.vnet_subnets_name_id, "aks")
os_disk_size_gb = var.os_disk_size_gb
os_sku = var.os_sku
sku_tier = var.sku_tier
private_cluster_enabled = var.private_cluster_enabled
enable_auto_scaling = var.enable_auto_scaling
enable_host_encryption = var.enable_host_encryption
log_analytics_workspace_enabled = var.log_analytics_workspace_enabled
Expand Down
6 changes: 0 additions & 6 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ variable "sku_tier" {
default = "Standard"
}

variable "private_cluster_enabled" {
description = "Specifies wether the AKS cluster be private or not."
default = false
type = bool
}

variable "enable_auto_scaling" {
description = "Specifies whether to enable auto-scaler. Defaults to false."
type = bool
Expand Down