{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/5","id":52521022,"html_url":"https://github.com/thatjpk/cloudflare-ddns/pull/5","diff_url":"https://github.com/thatjpk/cloudflare-ddns/pull/5.diff","patch_url":"https://github.com/thatjpk/cloudflare-ddns/pull/5.patch","issue_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues/5","number":5,"state":"open","locked":false,"title":"Use AWS ec2metadata service for cloud instances","user":{"login":"Kahn","id":8662,"avatar_url":"https://avatars.githubusercontent.com/u/8662?v=3","gravatar_id":"","url":"https://api.github.com/users/Kahn","html_url":"https://github.com/Kahn","followers_url":"https://api.github.com/users/Kahn/followers","following_url":"https://api.github.com/users/Kahn/following{/other_user}","gists_url":"https://api.github.com/users/Kahn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kahn/subscriptions","organizations_url":"https://api.github.com/users/Kahn/orgs","repos_url":"https://api.github.com/users/Kahn/repos","events_url":"https://api.github.com/users/Kahn/events{/privacy}","received_events_url":"https://api.github.com/users/Kahn/received_events","type":"User","site_admin":false},"body":"Ahoy,\r\n\r\nI picked this up and added support for using the AWS provided external IP resolution via ec2metadata service rather than calling @major 's external service. It's a nice alternative to firing up full blown route53 zones and delegation when all I needed was a single A record to be managed :)\r\n\r\nCheers,\r\n\r\nSam","created_at":"2015-12-03T11:15:59Z","updated_at":"2015-12-03T11:16:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/5/commits","review_comments_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/5/comments","review_comment_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues/5/comments","statuses_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/statuses/4c87c13b12186d663deca79530308d71ca4cb896","head":{"label":"Kahn:master","ref":"master","sha":"4c87c13b12186d663deca79530308d71ca4cb896","user":{"login":"Kahn","id":8662,"avatar_url":"https://avatars.githubusercontent.com/u/8662?v=3","gravatar_id":"","url":"https://api.github.com/users/Kahn","html_url":"https://github.com/Kahn","followers_url":"https://api.github.com/users/Kahn/followers","following_url":"https://api.github.com/users/Kahn/following{/other_user}","gists_url":"https://api.github.com/users/Kahn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kahn/subscriptions","organizations_url":"https://api.github.com/users/Kahn/orgs","repos_url":"https://api.github.com/users/Kahn/repos","events_url":"https://api.github.com/users/Kahn/events{/privacy}","received_events_url":"https://api.github.com/users/Kahn/received_events","type":"User","site_admin":false},"repo":{"id":47326251,"name":"cloudflare-ddns","full_name":"Kahn/cloudflare-ddns","owner":{"login":"Kahn","id":8662,"avatar_url":"https://avatars.githubusercontent.com/u/8662?v=3","gravatar_id":"","url":"https://api.github.com/users/Kahn","html_url":"https://github.com/Kahn","followers_url":"https://api.github.com/users/Kahn/followers","following_url":"https://api.github.com/users/Kahn/following{/other_user}","gists_url":"https://api.github.com/users/Kahn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kahn/subscriptions","organizations_url":"https://api.github.com/users/Kahn/orgs","repos_url":"https://api.github.com/users/Kahn/repos","events_url":"https://api.github.com/users/Kahn/events{/privacy}","received_events_url":"https://api.github.com/users/Kahn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kahn/cloudflare-ddns","description":"Script for dynamically updating a CloudFlare DNS record.","fork":true,"url":"https://api.github.com/repos/Kahn/cloudflare-ddns","forks_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/forks","keys_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/teams","hooks_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/hooks","issue_events_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/issues/events{/number}","events_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/events","assignees_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/assignees{/user}","branches_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/branches{/branch}","tags_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/tags","blobs_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/statuses/{sha}","languages_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/languages","stargazers_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/stargazers","contributors_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/contributors","subscribers_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/subscribers","subscription_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/subscription","commits_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/contents/{+path}","compare_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/merges","archive_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/downloads","issues_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/issues{/number}","pulls_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/pulls{/number}","milestones_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/milestones{/number}","notifications_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/labels{/name}","releases_url":"https://api.github.com/repos/Kahn/cloudflare-ddns/releases{/id}","created_at":"2015-12-03T10:56:16Z","updated_at":"2015-12-03T10:56:17Z","pushed_at":"2015-12-03T11:09:31Z","git_url":"git://github.com/Kahn/cloudflare-ddns.git","ssh_url":"git@github.com:Kahn/cloudflare-ddns.git","clone_url":"https://github.com/Kahn/cloudflare-ddns.git","svn_url":"https://github.com/Kahn/cloudflare-ddns","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"thatjpk:master","ref":"master","sha":"0f61ad7c7c189c775ae604e967aacd180c3a0854","user":{"login":"thatjpk","id":1297471,"avatar_url":"https://avatars.githubusercontent.com/u/1297471?v=3","gravatar_id":"","url":"https://api.github.com/users/thatjpk","html_url":"https://github.com/thatjpk","followers_url":"https://api.github.com/users/thatjpk/followers","following_url":"https://api.github.com/users/thatjpk/following{/other_user}","gists_url":"https://api.github.com/users/thatjpk/gists{/gist_id}","starred_url":"https://api.github.com/users/thatjpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatjpk/subscriptions","organizations_url":"https://api.github.com/users/thatjpk/orgs","repos_url":"https://api.github.com/users/thatjpk/repos","events_url":"https://api.github.com/users/thatjpk/events{/privacy}","received_events_url":"https://api.github.com/users/thatjpk/received_events","type":"User","site_admin":false},"repo":{"id":13430146,"name":"cloudflare-ddns","full_name":"thatjpk/cloudflare-ddns","owner":{"login":"thatjpk","id":1297471,"avatar_url":"https://avatars.githubusercontent.com/u/1297471?v=3","gravatar_id":"","url":"https://api.github.com/users/thatjpk","html_url":"https://github.com/thatjpk","followers_url":"https://api.github.com/users/thatjpk/followers","following_url":"https://api.github.com/users/thatjpk/following{/other_user}","gists_url":"https://api.github.com/users/thatjpk/gists{/gist_id}","starred_url":"https://api.github.com/users/thatjpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatjpk/subscriptions","organizations_url":"https://api.github.com/users/thatjpk/orgs","repos_url":"https://api.github.com/users/thatjpk/repos","events_url":"https://api.github.com/users/thatjpk/events{/privacy}","received_events_url":"https://api.github.com/users/thatjpk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thatjpk/cloudflare-ddns","description":"Script for dynamically updating a CloudFlare DNS record.","fork":false,"url":"https://api.github.com/repos/thatjpk/cloudflare-ddns","forks_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/forks","keys_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/teams","hooks_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/hooks","issue_events_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues/events{/number}","events_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/events","assignees_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/assignees{/user}","branches_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/branches{/branch}","tags_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/tags","blobs_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/git/refs{/sha}","trees_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/statuses/{sha}","languages_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/languages","stargazers_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/stargazers","contributors_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/contributors","subscribers_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/subscribers","subscription_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/subscription","commits_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/commits{/sha}","git_commits_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/git/commits{/sha}","comments_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/comments{/number}","issue_comment_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues/comments{/number}","contents_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/contents/{+path}","compare_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/merges","archive_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/downloads","issues_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues{/number}","pulls_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls{/number}","milestones_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/milestones{/number}","notifications_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/labels{/name}","releases_url":"https://api.github.com/repos/thatjpk/cloudflare-ddns/releases{/id}","created_at":"2013-10-09T01:31:36Z","updated_at":"2015-12-03T10:18:10Z","pushed_at":"2015-10-16T22:04:46Z","git_url":"git://github.com/thatjpk/cloudflare-ddns.git","ssh_url":"git@github.com:thatjpk/cloudflare-ddns.git","clone_url":"https://github.com/thatjpk/cloudflare-ddns.git","svn_url":"https://github.com/thatjpk/cloudflare-ddns","homepage":null,"size":186,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":2,"forks":12,"open_issues":2,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/5"},"html":{"href":"https://github.com/thatjpk/cloudflare-ddns/pull/5"},"issue":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues/5"},"comments":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/thatjpk/cloudflare-ddns/statuses/4c87c13b12186d663deca79530308d71ca4cb896"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":19,"deletions":1,"changed_files":2}}