Hello there,
We have been having issues destroying our environment. We are using Terraform Destroy command. The pipeline keeps failing. Environment does not get destroyed. This started on Thursday. Using Azure Devops to run the pipelines I hoping someone can help out? Much appreciated.
This infrastructure has the following modules:
*Cosmos DB
*Azure Keyvault
*Application Insights
Terraform Version
0.14.7
AzureRM Provider Version
2.50.0
Affected Resource(s)/Data Source(s)
Terraform Destroy
Terraform Configuration Files
running terraform destroy
Out Put of Error
Warning: “soft_delete_enabled”: [DEPRECATED] Azure has removed support for disabling Soft Delete as of 2020-12-15, as such this field is no longer configurable and can be safely removed. This field will be removed in version 3.0 of the Azure Provider.
on Modules\KeyVault\KeyVault.tf line 2, in resource “azurerm_key_vault” “keyvault”:
2: resource “azurerm_key_vault” “keyvault” {
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Canceled desc = context canceled
Error: rpc error: code = Unavailable desc = transport is closing
##[debug]Exit code: 1
##[debug]Leaving Invoke-VstsTool.
##[error]Cmd.exe exited with code ‘1’.
##[debug]Processed: ##vso[task.logissue type=error]Cmd.exe exited with code ‘1’.
##[debug]Processed: ##vso[task.complete result=Failed]Error detected
##[debug]Leaving D:\a_tasks\CmdLine_d9bafed4-0b18-4f58-968d-86655b4d2ce9\2.201.1\cmdline.ps1.
Finishing: Terraform Destroy