Skip to content

Commit

Permalink
Removes the depends_on for federated cred
Browse files Browse the repository at this point in the history
  • Loading branch information
Ata authored and Ata committed May 11, 2024
1 parent bd1e664 commit d0f7cd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keyvault-argo.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0f7cd5

Please sign in to comment.