https://pulumi.com logo
#general
Title
# general
m

mysterious-city-83058

03/03/2022, 5:35 PM
Has anyone tried to create secrets in Azure Key Vault using a for loop? Basically, I am trying to iterate through a dictionary with all the secrets I want available in the vault. Pulumi returns errors regarding accessing the vault concurrently, but the secrets seem to get created. Anyone tried this?
g

great-queen-39697

03/03/2022, 8:32 PM
I haven't tried it specifically, but can you share the error trace you're getting?
m

mysterious-city-83058

03/04/2022, 5:16 PM
Just found the root cause of the problem. It happens when a vault that contains secrets is deleted by Pulumi destroy. Next time we run Pulumi up, and populate the vault again the issue shows up. The solution around it is to purge the vault manually before running Pulumi again, or create the vault not allowing for soft deletes.
👍 1
2 Views