{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1817","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1817/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1817/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1817/events","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1817","id":139458228,"number":1817,"title":"ec2 vpc peering module","user":{"login":"linuxdynasty","id":1255573,"avatar_url":"https://avatars.githubusercontent.com/u/1255573?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxdynasty","html_url":"https://github.com/linuxdynasty","followers_url":"https://api.github.com/users/linuxdynasty/followers","following_url":"https://api.github.com/users/linuxdynasty/following{/other_user}","gists_url":"https://api.github.com/users/linuxdynasty/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxdynasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxdynasty/subscriptions","organizations_url":"https://api.github.com/users/linuxdynasty/orgs","repos_url":"https://api.github.com/users/linuxdynasty/repos","events_url":"https://api.github.com/users/linuxdynasty/events{/privacy}","received_events_url":"https://api.github.com/users/linuxdynasty/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/new_plugin","name":"new_plugin","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-09T02:43:44Z","updated_at":"2016-03-11T14:22:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1817","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1817","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1817.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1817.patch"},"body":"##### Issue Type:\r\n\r\n - New Module Pull Request\r\n\r\n##### Plugin Name:\r\n\r\nec2_vpc_peer\r\n\r\n##### Ansible Version:\r\n\r\n```\r\nansible 2.1.0\r\n```\r\n\r\n##### Summary:\r\nThis was originally going to be a PR against #1434, but I made massive changes, so I thought it was best to create a new PR.\r\n\r\n* Create VPC peering connections local and cross account.\r\n* Create VPC peering connections local and cross account and add the newly created peer to the accepter routing tables.\r\n* Create VPC peering connections local and cross account and add the newly created peer to the requester routing tables.\r\n* Create VPC peering connections and auto accept on same or cross account if set to true.\r\n* Delete VPC peering connections.\r\n* Accept VPC peering connections.\r\n* Reject VPC peering connections.\r\n* Tag VPC peering connections.\r\n\r\n##### Example output:\r\n\r\n```\r\n{                                                                                                                                                                                                    \r\n    \"accepter_vpc_info\": {\r\n        \"owner_id\": \"123456789\",\r\n        \"vpc_id\": \"vpc-12345678\"\r\n    },\r\n    \"changed\": true,\r\n    \"msg\": \"peering connection pcx-12345678 created. Current status is active.\",\r\n    \"requester_vpc_info\": {\r\n        \"cidr_block\": \"10.0.0.0/16\",\r\n        \"owner_id\": \"987654321\",\r\n        \"vpc_id\": \"vpc-87654321\"\r\n    },\r\n    \"status\": {\r\n        \"code\": \"active\",\r\n        \"message\": \"Active\"\r\n    },\r\n    \"success\": true,\r\n    \"tags\": [\r\n        {\r\n            \"key\": \"Name\",\r\n            \"value\": \"FooBar\"\r\n        }\r\n    ],\r\n    \"vpc_peering_connection_id\": \"pcx-123456789\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/195384570","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1817#issuecomment-195384570","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1817","id":195384570,"user":{"login":"linuxdynasty","id":1255573,"avatar_url":"https://avatars.githubusercontent.com/u/1255573?v=3","gravatar_id":"","url":"https://api.github.com/users/linuxdynasty","html_url":"https://github.com/linuxdynasty","followers_url":"https://api.github.com/users/linuxdynasty/followers","following_url":"https://api.github.com/users/linuxdynasty/following{/other_user}","gists_url":"https://api.github.com/users/linuxdynasty/gists{/gist_id}","starred_url":"https://api.github.com/users/linuxdynasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linuxdynasty/subscriptions","organizations_url":"https://api.github.com/users/linuxdynasty/orgs","repos_url":"https://api.github.com/users/linuxdynasty/repos","events_url":"https://api.github.com/users/linuxdynasty/events{/privacy}","received_events_url":"https://api.github.com/users/linuxdynasty/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T14:22:07Z","updated_at":"2016-03-11T14:22:07Z","body":"@mmochan, the reason I created a new module was that I needed to be able to Auto Accept and Add routes as well as Tag. @iamfletch , great suggestion. I will go ahead and update it to your suggestion and update the documentation."}}