From d0f7cd5d55a17a139bb4312842f2f70ae8769d9c Mon Sep 17 00:00:00 2001 From: Ata Date: Sat, 11 May 2024 12:07:46 -0700 Subject: [PATCH] Removes the depends_on for federated cred --- keyvault-argo.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyvault-argo.tf b/keyvault-argo.tf index 3b0de26..aab5e40 100644 --- a/keyvault-argo.tf +++ b/keyvault-argo.tf @@ -97,10 +97,10 @@ resource "azurerm_federated_identity_credential" "kubernetes-federated-credentia resource_group_name = azurerm_resource_group.equalvote.name subject = "system:serviceaccount:argocd:aks-argocd" - depends_on = [ - azurerm_key_vault.equalvote-argocd, - azurerm_user_assigned_identity.argocd-identity - ] + # depends_on = [ + # azurerm_key_vault.equalvote-argocd, + # azurerm_user_assigned_identity.argocd-identity + # ] # Found this example that says we should be mapping to the ID and not principal_id parent_id = azurerm_user_assigned_identity.argocd-identity.id