diff --git a/azurerm/_modules/aks/service_principal.tf b/azurerm/_modules/aks/service_principal.tf index d2ae9a3d..7e6fc13e 100644 --- a/azurerm/_modules/aks/service_principal.tf +++ b/azurerm/_modules/aks/service_principal.tf @@ -10,17 +10,9 @@ resource "azuread_service_principal" "current" { application_id = azuread_application.current[0].application_id } -resource "random_string" "password" { - count = var.disable_managed_identities == true ? 1 : 0 - - length = 64 - special = true -} - resource "azuread_service_principal_password" "current" { count = var.disable_managed_identities == true ? 1 : 0 service_principal_id = azuread_service_principal.current[0].id - value = random_string.password[0].result end_date_relative = var.service_principal_end_date_relative }