{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1722","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1722/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1722/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1722/events","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1722","id":136029069,"number":1722,"title":"ecs_taskdefinition module fixes and improvements","user":{"login":"kaczynskid","id":4169076,"avatar_url":"https://avatars.githubusercontent.com/u/4169076?v=3","gravatar_id":"","url":"https://api.github.com/users/kaczynskid","html_url":"https://github.com/kaczynskid","followers_url":"https://api.github.com/users/kaczynskid/followers","following_url":"https://api.github.com/users/kaczynskid/following{/other_user}","gists_url":"https://api.github.com/users/kaczynskid/gists{/gist_id}","starred_url":"https://api.github.com/users/kaczynskid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaczynskid/subscriptions","organizations_url":"https://api.github.com/users/kaczynskid/orgs","repos_url":"https://api.github.com/users/kaczynskid/repos","events_url":"https://api.github.com/users/kaczynskid/events{/privacy}","received_events_url":"https://api.github.com/users/kaczynskid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/community_review","name":"community_review","color":"fad8c7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/feature_pull_request","name":"feature_pull_request","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-02-24T11:14:24Z","updated_at":"2016-05-04T07:14:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1722","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1722","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1722.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1722.patch"},"body":"##### Issue Type:\r\n\r\n - Feature Pull Request\r\n\r\n##### Plugin Name:\r\n\r\ncloud/amazon/ecs_taskdefinition\r\n\r\n##### Ansible Version:\r\n\r\n```\r\nansible 2.1.0 (devel 2db3f290ba) last updated 2016/02/24 10:06:09 (GMT +200)\r\n  lib/ansible/modules/core: (detached HEAD 7162623e86) last updated 2016/02/24 10:09:54 (GMT +200)\r\n  lib/ansible/modules/extras: (detached HEAD ecs_servic) last updated 2016/02/24 12:04:25 (GMT +200)\r\n  config file = \r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### Summary:\r\n\r\nModule will now compare whole task definition model and update it if any difference found, as opposed to just matching the task name and status - fixes #1169\r\n\r\nModule will now fail with upstream Amazon error message when describing the task will fail, as opposed to swallowing the exception and returning None \r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/216763385","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1722#issuecomment-216763385","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1722","id":216763385,"user":{"login":"jianyuan","id":103584,"avatar_url":"https://avatars.githubusercontent.com/u/103584?v=3","gravatar_id":"","url":"https://api.github.com/users/jianyuan","html_url":"https://github.com/jianyuan","followers_url":"https://api.github.com/users/jianyuan/followers","following_url":"https://api.github.com/users/jianyuan/following{/other_user}","gists_url":"https://api.github.com/users/jianyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/jianyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianyuan/subscriptions","organizations_url":"https://api.github.com/users/jianyuan/orgs","repos_url":"https://api.github.com/users/jianyuan/repos","events_url":"https://api.github.com/users/jianyuan/events{/privacy}","received_events_url":"https://api.github.com/users/jianyuan/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T07:14:05Z","updated_at":"2016-05-04T07:14:05Z","body":"In a [recent AWS update](http://aws.amazon.com/about-aws/whats-new/2016/04/aws-cloudformation-updates-amazon-ec2-amazon-ecs-aws-lambda-and-amazon-gamelift-resource-support/), there's new support for additional ECS container definition properties.\r\n\r\nAs such, the `is_matching_task` method has to be updated.\r\n\r\n[Reference here](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html)."}}