{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1260","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1260/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1260/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1260/events","html_url":"https://github.com/hashicorp/terraform/issues/1260","id":63223123,"number":1260,"title":"ebs_block_device forces a new resource each time","user":{"login":"jaxxstorm","id":1622940,"avatar_url":"https://avatars.githubusercontent.com/u/1622940?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxxstorm","html_url":"https://github.com/jaxxstorm","followers_url":"https://api.github.com/users/jaxxstorm/followers","following_url":"https://api.github.com/users/jaxxstorm/following{/other_user}","gists_url":"https://api.github.com/users/jaxxstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxxstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxxstorm/subscriptions","organizations_url":"https://api.github.com/users/jaxxstorm/orgs","repos_url":"https://api.github.com/users/jaxxstorm/repos","events_url":"https://api.github.com/users/jaxxstorm/events{/privacy}","received_events_url":"https://api.github.com/users/jaxxstorm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7"},{"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":3,"created_at":"2015-03-20T12:55:36Z","updated_at":"2015-03-20T14:33:32Z","closed_at":null,"body":"Similar #1204 it looks the same problem affects the ebs_block_device param:\r\n\r\nI added\r\n\r\n```\r\nebs_block_device = {\r\n    device_name = \"/dev/sdm\"\r\n    volume_type = \"gp2\"\r\n    volume_size = \"56\"\r\n  }\r\n```\r\n\r\nand the result, even though the resource already exists and has the correct mapping:\r\n\r\n```\r\n-/+ module.ap_kms.aws_instance.kms.2\r\n    ami:                                               \"ami-c040f9b7\" => \"ami-c040f9b7\"\r\n    availability_zone:                                 \"eu-west-1a\" => \"<computed>\"\r\n    ebs_block_device.#:                                \"2\" => \"1\"\r\n    ebs_block_device.2881945572.delete_on_termination: \"\" => \"1\" (forces new resource)\r\n    ebs_block_device.2881945572.device_name:           \"\" => \"/dev/sdm\" (forces new resource)\r\n    ebs_block_device.2881945572.encrypted:             \"\" => \"<computed>\" (forces new resource)\r\n    ebs_block_device.2881945572.iops:                  \"\" => \"<computed>\" (forces new resource)\r\n    ebs_block_device.2881945572.snapshot_id:           \"\" => \"<computed>\" (forces new resource)\r\n    ebs_block_device.2881945572.volume_size:           \"\" => \"56\" (forces new resource)\r\n    ebs_block_device.2881945572.volume_type:           \"\" => \"gp2\" (forces new resource)\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/84032622","html_url":"https://github.com/hashicorp/terraform/issues/1260#issuecomment-84032622","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/1260","id":84032622,"user":{"login":"phinze","id":37534,"avatar_url":"https://avatars.githubusercontent.com/u/37534?v=3","gravatar_id":"","url":"https://api.github.com/users/phinze","html_url":"https://github.com/phinze","followers_url":"https://api.github.com/users/phinze/followers","following_url":"https://api.github.com/users/phinze/following{/other_user}","gists_url":"https://api.github.com/users/phinze/gists{/gist_id}","starred_url":"https://api.github.com/users/phinze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phinze/subscriptions","organizations_url":"https://api.github.com/users/phinze/orgs","repos_url":"https://api.github.com/users/phinze/repos","events_url":"https://api.github.com/users/phinze/events{/privacy}","received_events_url":"https://api.github.com/users/phinze/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T14:33:32Z","updated_at":"2015-03-20T14:33:32Z","body":"Taking a look now"}}