I have a list in config that I use to create permissions resources for an azure keyvault
I need the permissions to be added before I add keyvault secrets
I cannot add the permissions resources to the depends block as they're dynamic
Is there a clean way to do this?
I could theoretically create a custom resource which creates all the permissions resources and then add that resource to the dependson block but it seems like a lot of work