{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3600","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3600/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3600/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3600/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/3600","id":153269763,"number":3600,"title":"Failed AMI creation makes AMI run until timeout","user":{"login":"jjshoe","id":2053992,"avatar_url":"https://avatars.githubusercontent.com/u/2053992?v=3","gravatar_id":"","url":"https://api.github.com/users/jjshoe","html_url":"https://github.com/jjshoe","followers_url":"https://api.github.com/users/jjshoe/followers","following_url":"https://api.github.com/users/jjshoe/following{/other_user}","gists_url":"https://api.github.com/users/jjshoe/gists{/gist_id}","starred_url":"https://api.github.com/users/jjshoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjshoe/subscriptions","organizations_url":"https://api.github.com/users/jjshoe/orgs","repos_url":"https://api.github.com/users/jjshoe/repos","events_url":"https://api.github.com/users/jjshoe/events{/privacy}","received_events_url":"https://api.github.com/users/jjshoe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.1","name":"affects_2.1","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/aws","name":"aws","color":"c5def5"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-05T16:30:38Z","updated_at":"2016-09-08T21:00:20Z","closed_at":null,"body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\nec2_ami\r\n\r\n##### ANSIBLE VERSION\r\n```\r\n2.1\r\n```\r\n\r\n##### SUMMARY\r\nThough rare an AMI creation can fail, returning a status of ```failed```. The code doesn't check for this case, and keeps waiting until the timeout is expired. \r\n\r\n##### EXPECTED RESULTS\r\nec2_ami should return when a state of ```failed``` is encountered\r\n\r\n##### ACTUAL RESULTS\r\nec2_ami does not return when a state of ```failed``` is encountered\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/245739228","html_url":"https://github.com/ansible/ansible-modules-core/issues/3600#issuecomment-245739228","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3600","id":245739228,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T21:00:20Z","updated_at":"2016-09-08T21:00:20Z","body":"@jjshoe, ping. This issue is still waiting on your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: issue_renotify_maintainer --->"}}
{"actor":{"display_login":"ansibot"}}