Ensure AKS enables private clusters

Error: AKS is not enabled for private clusters

Bridgecrew Policy ID: BC_AZR_KUBERNETES_6
Checkov Check ID: CKV_AZURE_115
Severity: LOW

AKS is not enabled for private clusters

Description

TBA

Fix - Buildtime

Terraform

  • Resource: azurerm_kubernetes_cluster
  • Argument: private_cluster_enabled
resource "azurerm_kubernetes_cluster" "example" {
                  ...
  +               private_cluster_enabled = true
                  
                }

Did this page help you?