{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9631","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9631/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9631/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9631/events","html_url":"https://github.com/hashicorp/terraform/pull/9631","id":185431947,"number":9631,"title":"[WIP] provider/azurerm: Fix VHD deletion when VM and Storage account are in separate resource groups","user":{"login":"carinadigital","id":602255,"avatar_url":"https://avatars.githubusercontent.com/u/602255?v=3","gravatar_id":"","url":"https://api.github.com/users/carinadigital","html_url":"https://github.com/carinadigital","followers_url":"https://api.github.com/users/carinadigital/followers","following_url":"https://api.github.com/users/carinadigital/following{/other_user}","gists_url":"https://api.github.com/users/carinadigital/gists{/gist_id}","starred_url":"https://api.github.com/users/carinadigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carinadigital/subscriptions","organizations_url":"https://api.github.com/users/carinadigital/orgs","repos_url":"https://api.github.com/users/carinadigital/repos","events_url":"https://api.github.com/users/carinadigital/events{/privacy}","received_events_url":"https://api.github.com/users/carinadigital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T15:42:02Z","updated_at":"2016-10-26T16:37:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/9631","html_url":"https://github.com/hashicorp/terraform/pull/9631","diff_url":"https://github.com/hashicorp/terraform/pull/9631.diff","patch_url":"https://github.com/hashicorp/terraform/pull/9631.patch"},"body":"`delete_os_disk_on_termination` and `delete_data_disk_on_termination` don't always remove the VHD disk blob when deleting a Virtual Machine.\r\nThis is because it assumes the storage account resource group is the same as the virtual machine's resource group. \r\n\r\nUnfortunately I can't find any information on the virtual machine that stores the storage account resource group and so I've had to go back the API. The only method I've found is to list the resources here https://godoc.org/github.com/Azure/azure-sdk-for-go/arm/resources/resources#Client.List\r\n\r\nOther suggestions are welcome."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/256406192","html_url":"https://github.com/hashicorp/terraform/pull/9631#issuecomment-256406192","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/9631","id":256406192,"user":{"login":"carinadigital","id":602255,"avatar_url":"https://avatars.githubusercontent.com/u/602255?v=3","gravatar_id":"","url":"https://api.github.com/users/carinadigital","html_url":"https://github.com/carinadigital","followers_url":"https://api.github.com/users/carinadigital/followers","following_url":"https://api.github.com/users/carinadigital/following{/other_user}","gists_url":"https://api.github.com/users/carinadigital/gists{/gist_id}","starred_url":"https://api.github.com/users/carinadigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carinadigital/subscriptions","organizations_url":"https://api.github.com/users/carinadigital/orgs","repos_url":"https://api.github.com/users/carinadigital/repos","events_url":"https://api.github.com/users/carinadigital/events{/privacy}","received_events_url":"https://api.github.com/users/carinadigital/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T16:37:39Z","updated_at":"2016-10-26T16:37:39Z","body":"I'm currently working on improving the current VHD opt in test case."}}
{"actor":{"display_login":"carinadigital"}}