pulumi-azure icon indicating copy to clipboard operation
pulumi-azure copied to clipboard

Deletion of keyvault certificates fails randomly

Open lkt82 opened this issue 3 years ago • 2 comments
trafficstars

Hello!

Every other time we try to delete a key vault certificate, pulumi fails with the this error. It behaves randomly as sometime its does allow a deletion other times not. In avarage every other day.

azure:keyvault:Certificate (******):
    error: deleting urn:pulumi:*****$azure:keyvault/certificate:*****: 1 error occurred:
    	* Unable to determine the Resource ID for the Key Vault at URL "[https://******.vault.azure.net/"](https://*****.vault.azure.net/%22)

Pulumi.Azure version 4.36.0

lkt82 avatar Feb 21 '22 06:02 lkt82

This sounds like something that should be an issue in the upstream provider, but I don't see any obvious corresponding issue: https://github.com/hashicorp/terraform-provider-azurerm/issues?q=is%3Aissue+key+vault+label%3Aservice%2Fkey-vault+label%3Abug+is%3Aclosed

jkodroff avatar Feb 25 '22 20:02 jkodroff

Maybe but is you guys we are paying for :). I have no clue to why this happening.

We can create a certificate unless we use the new provider version where is completely broken. https://github.com/pulumi/pulumi-azure/issues/1035

We are using the RBAC version of keyvault and importing a certificate.

lkt82 avatar Feb 28 '22 06:02 lkt82