{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4543","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4543/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4543/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4543/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/4543","id":173298418,"number":4543,"title":"ec2 aws module does not error when no image id is specified","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":[{"id":437720344,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.1","name":"affects_2.1","color":"5319e7","default":false},{"id":382351767,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/aws","name":"aws","color":"c5def5","default":false},{"id":132571937,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":132897218,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":414073372,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-25T20:14:16Z","updated_at":"2016-11-06T09:35:40Z","closed_at":null,"body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\n##### ISSUE TYPE\n\n<!--- Pick one below and delete the rest: -->\n- Bug Report\n##### COMPONENT NAME\n\nec2\n##### ANSIBLE VERSION\n\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\n\n```\nansible 2.1.1.0\n```\n##### CONFIGURATION\n\n<!---\nMention any settings you have changed/added/removed in ansible.cfg\n(or using the ANSIBLE_* environment variables).\n-->\n##### OS / ENVIRONMENT\n\nubuntu 14.04\n##### SUMMARY\n\nReturns ok instead of erroring when no image id is specified\n##### STEPS TO REPRODUCE\n\n```\n- hosts: localhost\n  connection: local\n  gather_facts: False\n  tasks:\n    - ec2:\n        region: us-east-1\n        count: 1\n        count_tag:\n          Name: joel_test\n        instance_tags:\n          Name: joel_test\n        instance_type: m3.medium\n        state: running\n        vpc_subnet_id: subnet-changeme\n        group:\n          - changeme\n```\n\n<!--- You can also paste gist.github.com links for larger files -->\n##### EXPECTED RESULTS\n\nreturn a fail, image id is required per docs\n##### ACTUAL RESULTS\n\nreturned an ok and no instance matches tag tage in a state of running. \n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/258669748","html_url":"https://github.com/ansible/ansible-modules-core/issues/4543#issuecomment-258669748","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4543","id":258669748,"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-11-06T09:35:40Z","updated_at":"2016-11-06T09:35:40Z","body":"@ansible, 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"}}