02/22/2020, 6:36 PM
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 : 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 ?
I solved my issue by using the
field on my secrets declaration.