From 4aaba8ce5c387a565f36c2ea8080afd8cf99b0c4 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Thu, 14 Mar 2024 11:11:49 +0100 Subject: [PATCH] Enable API Server VNET Integration https://learn.microsoft.com/en-us/azure/aks/api-server-vnet-integration --- main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.tf b/main.tf index 49b521f..deca911 100644 --- a/main.tf +++ b/main.tf @@ -64,6 +64,9 @@ resource "azurerm_kubernetes_cluster" "this" { max_surge = "10%" } } + api_server_access_profile { + vnet_integration_enabled = true + } auto_scaler_profile { balance_similar_node_groups = true }