04/07/2021, 7:49 AM
I am working in a big organisation, and I don’t know what my colleagues are doing… Every now and then I get a message from pulumi stating: …” already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for “azurerm_key_vault_access_policy” for more information.” I know what is the problem, but I don’t know how to solve it. Sometimes the deleting the resource, and recrate it with pulumi is a quick fix, but sometimes it is not.
I Quick fixed it. This time I was able to to delete a keyvault access policy through the azure portal. then I recreated the same access policy with pulumi. Next time the fix might not be that easy.


04/07/2021, 2:44 PM
Are these resources already managed by Pulumi, but in another stack?