From 4f5ff2a7da602bb20c5c7603426f2d8bdbd28bd6 Mon Sep 17 00:00:00 2001 From: chian <91816369+chianw@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:11:55 +0800 Subject: [PATCH 1/3] Update password.tf --- modules/azuread/credentials/password.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/azuread/credentials/password.tf b/modules/azuread/credentials/password.tf index ec62163622..3592224614 100644 --- a/modules/azuread/credentials/password.tf +++ b/modules/azuread/credentials/password.tf @@ -11,7 +11,7 @@ resource "azuread_application_password" "key" { } lifecycle { - create_before_destroy = true + #create_before_destroy = true } } @@ -28,7 +28,7 @@ resource "azuread_application_password" "key0" { } lifecycle { - create_before_destroy = true + #create_before_destroy = true } } @@ -44,7 +44,7 @@ resource "azuread_application_password" "key1" { } lifecycle { - create_before_destroy = true + #create_before_destroy = true } } @@ -89,4 +89,4 @@ resource "azurerm_key_vault_secret" "client_secret" { tags = { key = local.random_key } -} \ No newline at end of file +} From 74ec9d441cfd788cb71cfdd110ae7d4370b77d46 Mon Sep 17 00:00:00 2001 From: chian <91816369+chianw@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:12:14 +0800 Subject: [PATCH 2/3] Update module.tf --- modules/azuread/service_principal_password/module.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/azuread/service_principal_password/module.tf b/modules/azuread/service_principal_password/module.tf index 6cddbd5b61..2eeb0b2d38 100644 --- a/modules/azuread/service_principal_password/module.tf +++ b/modules/azuread/service_principal_password/module.tf @@ -8,7 +8,7 @@ resource "azuread_service_principal_password" "pwd" { } lifecycle { - create_before_destroy = false + #create_before_destroy = false } } From 580dcfab38993e2a0261ac2dec8a9b8b7661eb93 Mon Sep 17 00:00:00 2001 From: chian <91816369+chianw@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:12:40 +0800 Subject: [PATCH 3/3] Update module.tf --- modules/azuread/applications/module.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/azuread/applications/module.tf b/modules/azuread/applications/module.tf index bfb5a89b2e..116f093e2b 100644 --- a/modules/azuread/applications/module.tf +++ b/modules/azuread/applications/module.tf @@ -128,7 +128,7 @@ resource "azuread_service_principal_password" "pwd" { } lifecycle { - create_before_destroy = false + #create_before_destroy = false } }