You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform (and AzureRM Provider) Version
Terraform v0.11.11
AzureRM v1.21.0
Description
Sometimes I got error when I delete Cosmos DB account. Not always. The error tend to occur in multi-region configuration it need long operation time. After I get the error and wait several minutes, I can see that the db account has been deleted on Azure Portal. So after that, terraform destroy command complete successfully.
Running terraform destroy should successfully delete the terraform provisioned Cosmos DB account on the first attempt.
Actual Behavior
Error: Error refreshing state: 1 error(s) occurred:
* azurerm_cosmosdb_account.shared: 1 error(s) occurred:
* azurerm_cosmosdb_account.shared: azurerm_cosmosdb_account.shared: [ERROR] Unable to List Write keys for CosmosDB Account my-db: documentdb.DatabaseAccountsClient#ListKeys: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="NotFound" Message="Entity with the specified id does not exist in the system.\r\nActivityId: myid, Microsoft.Azure.Documents.Common/2.1.0.0"
Steps to Reproduce
terraform destroy
The text was updated successfully, but these errors were encountered:
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!
ghost
locked and limited conversation to collaborators
Mar 5, 2019
Community Note
Terraform (and AzureRM Provider) Version
Description
Sometimes I got error when I delete Cosmos DB account. Not always. The error tend to occur in multi-region configuration it need long operation time. After I get the error and wait several minutes, I can see that the db account has been deleted on Azure Portal. So after that, terraform destroy command complete successfully.
Affected Resource(s)
azurerm_cosmosdb_account
Terraform Configuration Files
Expected Behavior
Running terraform destroy should successfully delete the terraform provisioned Cosmos DB account on the first attempt.
Actual Behavior
Steps to Reproduce
terraform destroy
The text was updated successfully, but these errors were encountered: