When I try to destroy my stack, I have an error because the azure keyvault access policy gets deleted before the keyvault. That's exactly the issue described here :
https://github.com/terraform-providers/terraform-provider-azurerm/issues/4971. However I can't set the access policies in the keyvault declaration because one of my access policy is for an AppService that is declared after my keyvault (because one of its appsetting is the keyvault url). So I don't know how to do, it's kind of a circular dependency ... Any idea how to solve that ?