forked from hashicorp/terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/azurerm: Fix VHD deletion when VM and Storage account are in…
… separate resource groups (hashicorp#9631) * Improve messaging when storage account isn't found. * Add client for finding resources when you don't know it's resource group. * Add function to find Storage Account resource group name. * Use the storage account resource group, not the virtual machine's resource group when deleting VHDs. * Add description of storage account ID for clarity. * Improve VHD deletion test when storage account is in different resource group. * Use common function for ID parsing of storage account.
- Loading branch information
1 parent
20389c7
commit 868d93f
Showing
3 changed files
with
107 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters