-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Getting "Unable to determine the Resource ID for the Key Vault at URL "https://vaultname.vault.azure.net/" #20283
Comments
Hi @alfredomagallon! Thanks for posting this question. It seems you are using the Key Vault A KV id looks like |
Thanks for your comment, @aristosvo I'm not specifying any keyvault URI, I'm just using the ID coming from the following data:
Thanks |
Ah, sorry, didn't dig deep enough. Is this Key Vault in the same subscription as the other resources you're using or are there any special network settings configured on the Key Vault? There is something off, just not sure what. |
Yes, I already saw the issues with keyvault being on a different subscription, but it is not the case Update: It worked fine after several retries, didn't seem the retries but the passing of some time solved the problem. |
I am seeing this error as well. Any further ideas or remedies for this issue?
|
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.1.5
AzureRM Provider Version
3.29.1
Affected Resource(s)/Data Source(s)
azurerm_key_vault_secret
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
It should have retrieved the resource ID with no problems, like it usually does
Actual Behaviour
Error: Unable to determine the Resource ID for the Key Vault at URL "https://.vault.azure.net/" ... in resource "azurerm_key_vault_secret" "secret":
1: resource "azurerm_key_vault_secret" "secret"
Steps to Reproduce
terraform apply
Important Factoids
No response
References
I am working with one subscription only and the user is SPN with full permissions in the subscription.
The SPN is able to do
"az keyvault show --name " without problems, and that shows the correct resource ID
The text was updated successfully, but these errors were encountered: