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
terraform $ terraform destroy
Do you really want to destroy?
Terraform will delete all your managed infrastructure.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
azurerm_resource_group.test: Refreshing state... (ID: /subscriptions/XYZ/resourceGroups/acctestrg)
azurerm_storage_account.test: Refreshing state... (ID: /subscriptions/XYZ/resourceGroups/acctestrg/providers/Microsoft.Storage/storageAccounts/hashicorpaccsa)
azurerm_virtual_network.test: Refreshing state... (ID: /subscriptions/XYZ/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn)
azurerm_subnet.test: Refreshing state... (ID: /subscriptions/XYZ/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn/subnets/acctsub)
azurerm_network_interface.test: Refreshing state... (ID: /subscriptions/XYZ/resourceGroups/acctestrg/providers/Microsoft.Network/networkInterfaces/acctni)
Error refreshing state: 1 error(s) occurred:
* azurerm_storage_account.test: Error reading the state of AzureRM Storage Account "hashicorpaccsa": autorest:DoErrorUnlessStatusCode 404 GET https://management.azure.com/subscriptions/XYZ/resourceGroups/acctestrg/providers/Microsoft.Storage/storageAccounts/hashicorpaccsa?api-version=2015-06-15 failed with 404 Not Found
terraform $
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 27, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If an
azurerm_storage_account
resource has already been removed, Terraform is unable to proceed with a destroy due to a 404 error.Steps to Reproduce
terraform apply
with configuration below.terraform destroy
Example Config
Error log
The text was updated successfully, but these errors were encountered: