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_cosmosdb_account fails with documentdb.DatabaseAccountsClient#CheckNameExists: Failure responding to request: StatusCode=500 #7173
Comments
This started happening for me today. Started with a completely clean slate using the examples pulled from the documentation. This was in North Europe. I tried deploying to UK South to see if it was a region thing but seems to fail regardless. Terraform:
Terraform version: 0.12.26 |
I am using TF 0.12.26 with AzureRM 2.10 and experiancing same issue --- fails on previous success IaC executions. |
Here's the output I'm getting, might open up a support case with Microsoft -- I doubt this is an azurerm provider issue since it's throwing a 500 error. Not much terraform can do about it. Our resources are also in West Europe like others above. Edit: I've opened a support case with Microsoft on this -- Request 120060224009612
|
Microsoft has indicated it might be a known issue. |
i am getting same error. Terraform v0.12.26 |
I am also getting the same issues.. Terraform v0.12.24 Was working until 1am (UST) 2nd June 2020, suddenly stopped working there after. |
Seeing the same thing in Australia Southeast |
Seeing this in
|
I have raised a Microsoft support request and the Cosmos product team are apparently looking into this as a possible Azure side issue. |
Same issue in Central US and West US
|
FYI. I've been able to get the CosmosDB account by downgrading to azurerm v1.31.0 (which ignores the 500 error). It's not a pretty workaround but it works for the time being. |
Upstream issue raised: Azure/azure-sdk-for-go#9891 |
We have identified the root cause for this and are actively working on a hot fix to the issue. ETA should be tomorrow. Thanks. |
We've deployed the fix for this and the issue is resolved. |
As suggested by the above link, I have tested the hotfix of azurerm version 2.12.0, and it is working. |
This has been released in version 2.13.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.13.0"
}
# ... other configuration ... |
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.9
azurerm v2.10.0
Affected Resource(s)
azurerm_cosmosdb_account
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Provider creates CosmosDB account
Actual Behavior
Provider does not create CosmosDB account and fails with the following message.
Steps to Reproduce
terraform apply
Important Factoids
Running in Azure Westeurope
References
The text was updated successfully, but these errors were encountered: