From 302c6dea662c4a74099a68433339420c96481e13 Mon Sep 17 00:00:00 2001 From: Philipp Strube Date: Mon, 23 Aug 2021 17:59:09 +0200 Subject: [PATCH] Fix azuread_service_principal_password, password attribute deprecated --- azurerm/_modules/aks/service_principal.tf | 8 -------- 1 file changed, 8 deletions(-) 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 }