-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm 1.22 Error checking if key vault "" Exists #2865
Comments
I've just faced the same issue. There are some more details about it. |
Let's hope there is a workaround to use 1.22 without recreating all KV secrets. I am thinking one workaround would be to manually replace the attribute in the state. |
another workaround is providing version in provider
|
Another workaround... assuming you've updated your keyvault resource with the new
|
Sorry about this regression everyone, it was not our intent to force the use of |
Are you planning to release are bugfix release or have to wait until other task for 1.23 are done? |
@StefanSchoof we'll be releasing a bug fix release containing a fix for this |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
No difference when I run terraform with TF_LOG=TRACE
Panic Output
Expected Behavior
Terraform should refresh the state of my_keyvault_secret placed in my_keyvault
Actual Behavior
Terraform cannot find the my_keyvault keyvault, therefore cannot retrieve the keyvaultId needed to refresh the resource my_keyvault_secret
Error message:
module.sag.azurerm_key_vault_secret.sag-accesskey: 1 error(s) occurred:
azurerm_key_vault_secret.my-secret: Error checking if key vault "" for Secret "my-secret" in Vault at url "https://some-vault-url.vault.azure.net/" exists: keyVaultId is empty
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: