You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when enable_role_based_access_control = true and with default rbac_aad_managed=false currently it fails with the error
│ Error: You must specify client_app_id and server_app_id and server_app_secret when using managed aad rbac (managed = false)
│
│ with module.aks.azurerm_kubernetes_cluster.main,
│ on .terraform/modules/aks/main.tf line 10, in resource "azurerm_kubernetes_cluster" "main":
│ 10: resource "azurerm_kubernetes_cluster" "main" {
The text was updated successfully, but these errors were encountered:
The role_based_access_control block is deprecated in favour of the role_based_access_control_enabled property and the azure_active_directory_role_based_access_control block.
@manoatsas I struggle to understand the configuration you would like to see in the module.
Can you provide a working example of the resulting azurerm_kubernetes_cluster resource that would like the module to produce ?
Allow Kubernetes RBAC to be enabled to use Kubernetes Service Accounts with out the need for AzureAD integration per docs
azure_active_directory
is optional forrole_based_access_control
blockHowever, when
enable_role_based_access_control = true
and with defaultrbac_aad_managed=false
currently it fails with the errorThe text was updated successfully, but these errors were encountered: