{"action":"created","issue":{"url":"https://api.github.com/repos/amplifylitco/asiaq/issues/49","repository_url":"https://api.github.com/repos/amplifylitco/asiaq","labels_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/49/comments","events_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/49/events","html_url":"https://github.com/amplifylitco/asiaq/pull/49","id":155126864,"number":49,"title":"Add wildcard configuration for vpc name when peering VPCs","user":{"login":"aoskotsky-amplify","id":15692902,"avatar_url":"https://avatars.githubusercontent.com/u/15692902?v=3","gravatar_id":"","url":"https://api.github.com/users/aoskotsky-amplify","html_url":"https://github.com/aoskotsky-amplify","followers_url":"https://api.github.com/users/aoskotsky-amplify/followers","following_url":"https://api.github.com/users/aoskotsky-amplify/following{/other_user}","gists_url":"https://api.github.com/users/aoskotsky-amplify/gists{/gist_id}","starred_url":"https://api.github.com/users/aoskotsky-amplify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoskotsky-amplify/subscriptions","organizations_url":"https://api.github.com/users/aoskotsky-amplify/orgs","repos_url":"https://api.github.com/users/aoskotsky-amplify/repos","events_url":"https://api.github.com/users/aoskotsky-amplify/events{/privacy}","received_events_url":"https://api.github.com/users/aoskotsky-amplify/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T21:31:30Z","updated_at":"2016-05-18T17:51:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/amplifylitco/asiaq/pulls/49","html_url":"https://github.com/amplifylitco/asiaq/pull/49","diff_url":"https://github.com/amplifylitco/asiaq/pull/49.diff","patch_url":"https://github.com/amplifylitco/asiaq/pull/49.patch"},"body":"This adds support for the following peering syntax\r\n\r\n```ini\r\n[peerings]\r\nconnection_1=*:sandbox/intranet ci/intranet\r\n```\r\n\r\nThe above configuration would automatically peer any VPC of type `sandbox` with `ci`. \r\n"},"comment":{"url":"https://api.github.com/repos/amplifylitco/asiaq/issues/comments/220106163","html_url":"https://github.com/amplifylitco/asiaq/pull/49#issuecomment-220106163","issue_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/49","id":220106163,"user":{"login":"aoskotsky-amplify","id":15692902,"avatar_url":"https://avatars.githubusercontent.com/u/15692902?v=3","gravatar_id":"","url":"https://api.github.com/users/aoskotsky-amplify","html_url":"https://github.com/aoskotsky-amplify","followers_url":"https://api.github.com/users/aoskotsky-amplify/followers","following_url":"https://api.github.com/users/aoskotsky-amplify/following{/other_user}","gists_url":"https://api.github.com/users/aoskotsky-amplify/gists{/gist_id}","starred_url":"https://api.github.com/users/aoskotsky-amplify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoskotsky-amplify/subscriptions","organizations_url":"https://api.github.com/users/aoskotsky-amplify/orgs","repos_url":"https://api.github.com/users/aoskotsky-amplify/repos","events_url":"https://api.github.com/users/aoskotsky-amplify/events{/privacy}","received_events_url":"https://api.github.com/users/aoskotsky-amplify/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T17:51:42Z","updated_at":"2016-05-18T17:51:42Z","body":"It is bidirectional. \r\n\r\nThis config would create a peering connection from every VPC of type `envtype` to every VPC of type `envtype2`. \r\n```ini\r\n[peerings]\r\nconnection_1=*:envtype/intranet *:envtype2/intranet\r\n```\r\n\r\nThe env type is a required field when using `*` for the env name. The following config is not allowed\r\n```ini\r\n[peerings]\r\nconnection_1=*/intranet */intranet\r\n```\r\n"}}