{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/2050","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/2050/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2050/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/2050/events","html_url":"https://github.com/hashicorp/terraform/pull/2050","id":79619301,"number":2050,"title":"provider/aws: Add resource_aws_volume_attachment","user":{"login":"catsby","id":61721,"avatar_url":"https://avatars.githubusercontent.com/u/61721?v=3","gravatar_id":"","url":"https://api.github.com/users/catsby","html_url":"https://github.com/catsby","followers_url":"https://api.github.com/users/catsby/followers","following_url":"https://api.github.com/users/catsby/following{/other_user}","gists_url":"https://api.github.com/users/catsby/gists{/gist_id}","starred_url":"https://api.github.com/users/catsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catsby/subscriptions","organizations_url":"https://api.github.com/users/catsby/orgs","repos_url":"https://api.github.com/users/catsby/repos","events_url":"https://api.github.com/users/catsby/events{/privacy}","received_events_url":"https://api.github.com/users/catsby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-22T21:32:43Z","updated_at":"2015-05-26T14:37:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/2050","html_url":"https://github.com/hashicorp/terraform/pull/2050","diff_url":"https://github.com/hashicorp/terraform/pull/2050.diff","patch_url":"https://github.com/hashicorp/terraform/pull/2050.patch"},"body":"Allows you to attach an existing EBS volume to an existing Instance.\r\n\r\n**Usage:**\r\n\r\n```javascript\r\nprovider \"aws\" {\r\n  region=\"us-west-2\"\r\n}\r\n\r\nresource \"aws_instance\" \"web\" {\r\n  ami = \"ami-21f78e11\"\r\n  availability_zone = \"us-west-2a\"\r\n  instance_type = \"t1.micro\"\r\n  tags {\r\n    Name = \"HelloWorld\"\r\n  }\r\n}\r\n\r\nresource \"aws_ebs_volume\" \"example\" {\r\n  availability_zone = \"us-west-2a\" # must be same as Instance\r\n  size = 5\r\n}\r\n\r\nresource \"aws_volume_attachment\" \"ebs_att\" {\r\n  device_name = \"/dev/sdh\"\r\n  volume_id = \"${aws_ebs_volume.example.id}\"\r\n  instance_id = \"${aws_instance.web.id}\"\r\n}\r\n\r\n```\r\n\r\n**Remaining:**\r\n- [ ] docs\r\n- [x] acceptance test(s)"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/105546660","html_url":"https://github.com/hashicorp/terraform/pull/2050#issuecomment-105546660","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/2050","id":105546660,"user":{"login":"catsby","id":61721,"avatar_url":"https://avatars.githubusercontent.com/u/61721?v=3","gravatar_id":"","url":"https://api.github.com/users/catsby","html_url":"https://github.com/catsby","followers_url":"https://api.github.com/users/catsby/followers","following_url":"https://api.github.com/users/catsby/following{/other_user}","gists_url":"https://api.github.com/users/catsby/gists{/gist_id}","starred_url":"https://api.github.com/users/catsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catsby/subscriptions","organizations_url":"https://api.github.com/users/catsby/orgs","repos_url":"https://api.github.com/users/catsby/repos","events_url":"https://api.github.com/users/catsby/events{/privacy}","received_events_url":"https://api.github.com/users/catsby/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T14:37:04Z","updated_at":"2015-05-26T14:37:04Z","body":"I plan to review the feedback provided, and maybe make an adjustment or two. I suspect we can merge this afternoon or tomorrow :smile: "}}