{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/2084","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/2084/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/2084/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/2084/events","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/2084","id":269151413,"node_id":"MDU6SXNzdWUyNjkxNTE0MTM=","number":2084,"title":"Have Terraform stop to-be-destroyed instance first when moving attached ebs volume","user":{"login":"cnoffsin","id":5275381,"node_id":"MDQ6VXNlcjUyNzUzODE=","avatar_url":"https://avatars1.githubusercontent.com/u/5275381?v=4","gravatar_id":"","url":"https://api.github.com/users/cnoffsin","html_url":"https://github.com/cnoffsin","followers_url":"https://api.github.com/users/cnoffsin/followers","following_url":"https://api.github.com/users/cnoffsin/following{/other_user}","gists_url":"https://api.github.com/users/cnoffsin/gists{/gist_id}","starred_url":"https://api.github.com/users/cnoffsin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnoffsin/subscriptions","organizations_url":"https://api.github.com/users/cnoffsin/orgs","repos_url":"https://api.github.com/users/cnoffsin/repos","events_url":"https://api.github.com/users/cnoffsin/events{/privacy}","received_events_url":"https://api.github.com/users/cnoffsin/received_events","type":"User","site_admin":false},"labels":[{"id":620316241,"node_id":"MDU6TGFiZWw2MjAzMTYyNDE=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true},{"id":794043766,"node_id":"MDU6TGFiZWw3OTQwNDM3NjY=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/service/ec2","name":"service/ec2","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-27T15:45:11Z","updated_at":"2018-06-01T17:07:55Z","closed_at":null,"author_association":"NONE","body":"When destroying an instance, and then moving an attached volume to another instance, it would be nice if Terraform could send a Stop to the instance being destroyed first.\r\n\r\nThis is because often the volume doesn't detach in time and I end up just stopping the old instance and re-running the apply.  The old instance is getting destroyed anyway.\r\n\r\n\r\n### Terraform Version\r\n10.7 and before\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\nvolume_attachment\r\n\r\n### Panic Output\r\n1 error(s) occurred:\r\n\r\n* module.sre_apps.aws_volume_attachment.az1_collector_data (destroy): 1 error(s) occurred:\r\n\r\n* aws_volume_attachment.az1_collector_data: Error waiting for Volume (vol-0ec7ae950309d165a) to detach from Instance: i-058b7f34f0a545f77\r\n\r\nTerraform does not automatically rollback in the face of errors.\r\nInstead, your Terraform state file has been partially updated with\r\nany resources that successfully completed. Please address the error\r\n\r\n\r\n### Expected Behavior\r\nVolume moves to other instance quickly\r\n\r\n### Actual Behavior\r\nWhat actually happened?\r\n\r\n### Steps to Reproduce\r\nPlease list the steps required to reproduce the issue, for example:\r\n1. Move an EBS volume from one instance to another.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/comments/393945932","html_url":"https://github.com/terraform-providers/terraform-provider-aws/issues/2084#issuecomment-393945932","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/2084","id":393945932,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzk0NTkzMg==","user":{"login":"duality72","id":390740,"node_id":"MDQ6VXNlcjM5MDc0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/390740?v=4","gravatar_id":"","url":"https://api.github.com/users/duality72","html_url":"https://github.com/duality72","followers_url":"https://api.github.com/users/duality72/followers","following_url":"https://api.github.com/users/duality72/following{/other_user}","gists_url":"https://api.github.com/users/duality72/gists{/gist_id}","starred_url":"https://api.github.com/users/duality72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duality72/subscriptions","organizations_url":"https://api.github.com/users/duality72/orgs","repos_url":"https://api.github.com/users/duality72/repos","events_url":"https://api.github.com/users/duality72/events{/privacy}","received_events_url":"https://api.github.com/users/duality72/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T17:07:55Z","updated_at":"2018-06-01T17:07:55Z","author_association":"NONE","body":"@GarrisonD very late reply here, but I don't see why not"}}
{"actor":{"display_login":"duality72"}}