Using incorrect network policy for Azure Kubernetes Cluster may lead to compromised infrastructure.
The network profile of an AKS cluster cannot be changed once it has been created. To create a new resource with the appropriate settings, follow the steps below.
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster