{"action":"created","comment":{"url":"https://api.github.com/repos/evertrue/nat-monitor/pulls/comments/38107065","id":38107065,"diff_hunk":"@@ -39,13 +39,23 @@ nodes:\n   i-00000003: 10.0.2.1\n ```\n \n-Optional properties include:\n+Optional properties include (If you don't specify these variables, the following values are the default ones):\n ```yaml\n pings: 3\n ping_timeout: 1\n heartbeat_interval: 10\n ```\n \n+Optional aws configuration include:","path":"README.md","position":12,"original_position":12,"commit_id":"4e225687b5112fdeb19af0f88221658f155b4f52","original_commit_id":"4e225687b5112fdeb19af0f88221658f155b4f52","user":{"login":"marcgascon","id":6639530,"avatar_url":"https://avatars.githubusercontent.com/u/6639530?v=3","gravatar_id":"","url":"https://api.github.com/users/marcgascon","html_url":"https://github.com/marcgascon","followers_url":"https://api.github.com/users/marcgascon/followers","following_url":"https://api.github.com/users/marcgascon/following{/other_user}","gists_url":"https://api.github.com/users/marcgascon/gists{/gist_id}","starred_url":"https://api.github.com/users/marcgascon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcgascon/subscriptions","organizations_url":"https://api.github.com/users/marcgascon/orgs","repos_url":"https://api.github.com/users/marcgascon/repos","events_url":"https://api.github.com/users/marcgascon/events{/privacy}","received_events_url":"https://api.github.com/users/marcgascon/received_events","type":"User","site_admin":false},"body":"Because I think that it's clearest and more readable to sepparate in blocks the config file.","created_at":"2015-08-27T15:14:09Z","updated_at":"2015-08-27T15:14:09Z","html_url":"https://github.com/evertrue/nat-monitor/pull/1#discussion_r38107065","pull_request_url":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/evertrue/nat-monitor/pulls/comments/38107065"},"html":{"href":"https://github.com/evertrue/nat-monitor/pull/1#discussion_r38107065"},"pull_request":{"href":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1","id":43404697,"html_url":"https://github.com/evertrue/nat-monitor/pull/1","diff_url":"https://github.com/evertrue/nat-monitor/pull/1.diff","patch_url":"https://github.com/evertrue/nat-monitor/pull/1.patch","issue_url":"https://api.github.com/repos/evertrue/nat-monitor/issues/1","number":1,"state":"open","locked":false,"title":"Enables support to specify the region.","user":{"login":"marcgascon","id":6639530,"avatar_url":"https://avatars.githubusercontent.com/u/6639530?v=3","gravatar_id":"","url":"https://api.github.com/users/marcgascon","html_url":"https://github.com/marcgascon","followers_url":"https://api.github.com/users/marcgascon/followers","following_url":"https://api.github.com/users/marcgascon/following{/other_user}","gists_url":"https://api.github.com/users/marcgascon/gists{/gist_id}","starred_url":"https://api.github.com/users/marcgascon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcgascon/subscriptions","organizations_url":"https://api.github.com/users/marcgascon/orgs","repos_url":"https://api.github.com/users/marcgascon/repos","events_url":"https://api.github.com/users/marcgascon/events{/privacy}","received_events_url":"https://api.github.com/users/marcgascon/received_events","type":"User","site_admin":false},"body":"By default the gem fog-aws is using the region 'us-east-1' as we could see here:\r\nhttps://github.com/fog/fog-aws/blob/master/lib/fog/aws/compute.rb#L302\r\n\r\nIf I specify the endpoint: https://ec2.eu-west-1.amazonaws.com, (the region is 'us-east-1', as we have seen) then the connection returns OK but when I try to list the route table ruby throws an exception because the endpoint and region are not matching.\r\n\r\nIf the user didn't specify the region I will let him know that by default he is using 'us-east-1'\r\n\r\nComments are more than welcome.\r\nThanks.","created_at":"2015-08-26T13:58:16Z","updated_at":"2015-08-27T15:14:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42a78f541da1e2f6898ffec31c17fc6a5332dd83","assignee":{"login":"eherot","id":400447,"avatar_url":"https://avatars.githubusercontent.com/u/400447?v=3","gravatar_id":"","url":"https://api.github.com/users/eherot","html_url":"https://github.com/eherot","followers_url":"https://api.github.com/users/eherot/followers","following_url":"https://api.github.com/users/eherot/following{/other_user}","gists_url":"https://api.github.com/users/eherot/gists{/gist_id}","starred_url":"https://api.github.com/users/eherot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eherot/subscriptions","organizations_url":"https://api.github.com/users/eherot/orgs","repos_url":"https://api.github.com/users/eherot/repos","events_url":"https://api.github.com/users/eherot/events{/privacy}","received_events_url":"https://api.github.com/users/eherot/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1/commits","review_comments_url":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1/comments","review_comment_url":"https://api.github.com/repos/evertrue/nat-monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evertrue/nat-monitor/issues/1/comments","statuses_url":"https://api.github.com/repos/evertrue/nat-monitor/statuses/4e225687b5112fdeb19af0f88221658f155b4f52","head":{"label":"marcgascon:connection-region-support","ref":"connection-region-support","sha":"4e225687b5112fdeb19af0f88221658f155b4f52","user":{"login":"marcgascon","id":6639530,"avatar_url":"https://avatars.githubusercontent.com/u/6639530?v=3","gravatar_id":"","url":"https://api.github.com/users/marcgascon","html_url":"https://github.com/marcgascon","followers_url":"https://api.github.com/users/marcgascon/followers","following_url":"https://api.github.com/users/marcgascon/following{/other_user}","gists_url":"https://api.github.com/users/marcgascon/gists{/gist_id}","starred_url":"https://api.github.com/users/marcgascon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcgascon/subscriptions","organizations_url":"https://api.github.com/users/marcgascon/orgs","repos_url":"https://api.github.com/users/marcgascon/repos","events_url":"https://api.github.com/users/marcgascon/events{/privacy}","received_events_url":"https://api.github.com/users/marcgascon/received_events","type":"User","site_admin":false},"repo":{"id":41427246,"name":"nat-monitor","full_name":"marcgascon/nat-monitor","owner":{"login":"marcgascon","id":6639530,"avatar_url":"https://avatars.githubusercontent.com/u/6639530?v=3","gravatar_id":"","url":"https://api.github.com/users/marcgascon","html_url":"https://github.com/marcgascon","followers_url":"https://api.github.com/users/marcgascon/followers","following_url":"https://api.github.com/users/marcgascon/following{/other_user}","gists_url":"https://api.github.com/users/marcgascon/gists{/gist_id}","starred_url":"https://api.github.com/users/marcgascon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcgascon/subscriptions","organizations_url":"https://api.github.com/users/marcgascon/orgs","repos_url":"https://api.github.com/users/marcgascon/repos","events_url":"https://api.github.com/users/marcgascon/events{/privacy}","received_events_url":"https://api.github.com/users/marcgascon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcgascon/nat-monitor","description":"A service for providing an HA NAT in EC2","fork":true,"url":"https://api.github.com/repos/marcgascon/nat-monitor","forks_url":"https://api.github.com/repos/marcgascon/nat-monitor/forks","keys_url":"https://api.github.com/repos/marcgascon/nat-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcgascon/nat-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcgascon/nat-monitor/teams","hooks_url":"https://api.github.com/repos/marcgascon/nat-monitor/hooks","issue_events_url":"https://api.github.com/repos/marcgascon/nat-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/marcgascon/nat-monitor/events","assignees_url":"https://api.github.com/repos/marcgascon/nat-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/marcgascon/nat-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/marcgascon/nat-monitor/tags","blobs_url":"https://api.github.com/repos/marcgascon/nat-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcgascon/nat-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcgascon/nat-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcgascon/nat-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcgascon/nat-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/marcgascon/nat-monitor/languages","stargazers_url":"https://api.github.com/repos/marcgascon/nat-monitor/stargazers","contributors_url":"https://api.github.com/repos/marcgascon/nat-monitor/contributors","subscribers_url":"https://api.github.com/repos/marcgascon/nat-monitor/subscribers","subscription_url":"https://api.github.com/repos/marcgascon/nat-monitor/subscription","commits_url":"https://api.github.com/repos/marcgascon/nat-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcgascon/nat-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcgascon/nat-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcgascon/nat-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcgascon/nat-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/marcgascon/nat-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcgascon/nat-monitor/merges","archive_url":"https://api.github.com/repos/marcgascon/nat-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcgascon/nat-monitor/downloads","issues_url":"https://api.github.com/repos/marcgascon/nat-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/marcgascon/nat-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/marcgascon/nat-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/marcgascon/nat-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcgascon/nat-monitor/labels{/name}","releases_url":"https://api.github.com/repos/marcgascon/nat-monitor/releases{/id}","created_at":"2015-08-26T13:30:00Z","updated_at":"2015-08-26T13:30:00Z","pushed_at":"2015-08-27T08:04:44Z","git_url":"git://github.com/marcgascon/nat-monitor.git","ssh_url":"git@github.com:marcgascon/nat-monitor.git","clone_url":"https://github.com/marcgascon/nat-monitor.git","svn_url":"https://github.com/marcgascon/nat-monitor","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"evertrue:master","ref":"master","sha":"4e9e049fe4e105cc350ae8b07ec8bfe2c51b0511","user":{"login":"evertrue","id":1162677,"avatar_url":"https://avatars.githubusercontent.com/u/1162677?v=3","gravatar_id":"","url":"https://api.github.com/users/evertrue","html_url":"https://github.com/evertrue","followers_url":"https://api.github.com/users/evertrue/followers","following_url":"https://api.github.com/users/evertrue/following{/other_user}","gists_url":"https://api.github.com/users/evertrue/gists{/gist_id}","starred_url":"https://api.github.com/users/evertrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evertrue/subscriptions","organizations_url":"https://api.github.com/users/evertrue/orgs","repos_url":"https://api.github.com/users/evertrue/repos","events_url":"https://api.github.com/users/evertrue/events{/privacy}","received_events_url":"https://api.github.com/users/evertrue/received_events","type":"Organization","site_admin":false},"repo":{"id":30368883,"name":"nat-monitor","full_name":"evertrue/nat-monitor","owner":{"login":"evertrue","id":1162677,"avatar_url":"https://avatars.githubusercontent.com/u/1162677?v=3","gravatar_id":"","url":"https://api.github.com/users/evertrue","html_url":"https://github.com/evertrue","followers_url":"https://api.github.com/users/evertrue/followers","following_url":"https://api.github.com/users/evertrue/following{/other_user}","gists_url":"https://api.github.com/users/evertrue/gists{/gist_id}","starred_url":"https://api.github.com/users/evertrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evertrue/subscriptions","organizations_url":"https://api.github.com/users/evertrue/orgs","repos_url":"https://api.github.com/users/evertrue/repos","events_url":"https://api.github.com/users/evertrue/events{/privacy}","received_events_url":"https://api.github.com/users/evertrue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evertrue/nat-monitor","description":"A service for providing an HA NAT in EC2","fork":false,"url":"https://api.github.com/repos/evertrue/nat-monitor","forks_url":"https://api.github.com/repos/evertrue/nat-monitor/forks","keys_url":"https://api.github.com/repos/evertrue/nat-monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evertrue/nat-monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evertrue/nat-monitor/teams","hooks_url":"https://api.github.com/repos/evertrue/nat-monitor/hooks","issue_events_url":"https://api.github.com/repos/evertrue/nat-monitor/issues/events{/number}","events_url":"https://api.github.com/repos/evertrue/nat-monitor/events","assignees_url":"https://api.github.com/repos/evertrue/nat-monitor/assignees{/user}","branches_url":"https://api.github.com/repos/evertrue/nat-monitor/branches{/branch}","tags_url":"https://api.github.com/repos/evertrue/nat-monitor/tags","blobs_url":"https://api.github.com/repos/evertrue/nat-monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evertrue/nat-monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evertrue/nat-monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/evertrue/nat-monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evertrue/nat-monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/evertrue/nat-monitor/languages","stargazers_url":"https://api.github.com/repos/evertrue/nat-monitor/stargazers","contributors_url":"https://api.github.com/repos/evertrue/nat-monitor/contributors","subscribers_url":"https://api.github.com/repos/evertrue/nat-monitor/subscribers","subscription_url":"https://api.github.com/repos/evertrue/nat-monitor/subscription","commits_url":"https://api.github.com/repos/evertrue/nat-monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/evertrue/nat-monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/evertrue/nat-monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/evertrue/nat-monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/evertrue/nat-monitor/contents/{+path}","compare_url":"https://api.github.com/repos/evertrue/nat-monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evertrue/nat-monitor/merges","archive_url":"https://api.github.com/repos/evertrue/nat-monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evertrue/nat-monitor/downloads","issues_url":"https://api.github.com/repos/evertrue/nat-monitor/issues{/number}","pulls_url":"https://api.github.com/repos/evertrue/nat-monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/evertrue/nat-monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/evertrue/nat-monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evertrue/nat-monitor/labels{/name}","releases_url":"https://api.github.com/repos/evertrue/nat-monitor/releases{/id}","created_at":"2015-02-05T17:41:13Z","updated_at":"2015-02-17T18:00:20Z","pushed_at":"2015-08-27T14:47:46Z","git_url":"git://github.com/evertrue/nat-monitor.git","ssh_url":"git@github.com:evertrue/nat-monitor.git","clone_url":"https://github.com/evertrue/nat-monitor.git","svn_url":"https://github.com/evertrue/nat-monitor","homepage":null,"size":208,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1"},"html":{"href":"https://github.com/evertrue/nat-monitor/pull/1"},"issue":{"href":"https://api.github.com/repos/evertrue/nat-monitor/issues/1"},"comments":{"href":"https://api.github.com/repos/evertrue/nat-monitor/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/evertrue/nat-monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evertrue/nat-monitor/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/evertrue/nat-monitor/statuses/4e225687b5112fdeb19af0f88221658f155b4f52"}}}}