{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/fujiwara/stretcher/pulls/4","id":45271828,"html_url":"https://github.com/fujiwara/stretcher/pull/4","diff_url":"https://github.com/fujiwara/stretcher/pull/4.diff","patch_url":"https://github.com/fujiwara/stretcher/pull/4.patch","issue_url":"https://api.github.com/repos/fujiwara/stretcher/issues/4","number":4,"state":"closed","locked":false,"title":"Load credentials from .aws/config and .aws/credentials","user":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"body":"More compatible with aws-cli for loading credentials.\r\n\r\n1. Load credentials from ~/.aws/config, ~/.aws/credentials (override by AWS_CONFIG_FILE)\r\n2. Override it by env AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY.\r\n3. Otherwise, try use IAM Role.\r\n","created_at":"2015-09-17T09:56:52Z","updated_at":"2015-10-17T01:51:11Z","closed_at":"2015-10-17T01:51:11Z","merged_at":"2015-10-17T01:51:11Z","merge_commit_sha":"4948f7f5c7e3d43f4da5893bd25ec088160f5c78","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fujiwara/stretcher/pulls/4/commits","review_comments_url":"https://api.github.com/repos/fujiwara/stretcher/pulls/4/comments","review_comment_url":"https://api.github.com/repos/fujiwara/stretcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fujiwara/stretcher/issues/4/comments","statuses_url":"https://api.github.com/repos/fujiwara/stretcher/statuses/6d92e031a70d8d129ecfb9a5dd0844bc892eca75","head":{"label":"fujiwara:fix/load-credentials","ref":"fix/load-credentials","sha":"6d92e031a70d8d129ecfb9a5dd0844bc892eca75","user":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"repo":{"id":26624970,"name":"stretcher","full_name":"fujiwara/stretcher","owner":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fujiwara/stretcher","description":"Deployment tool with consul/serf event notification.","fork":false,"url":"https://api.github.com/repos/fujiwara/stretcher","forks_url":"https://api.github.com/repos/fujiwara/stretcher/forks","keys_url":"https://api.github.com/repos/fujiwara/stretcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fujiwara/stretcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fujiwara/stretcher/teams","hooks_url":"https://api.github.com/repos/fujiwara/stretcher/hooks","issue_events_url":"https://api.github.com/repos/fujiwara/stretcher/issues/events{/number}","events_url":"https://api.github.com/repos/fujiwara/stretcher/events","assignees_url":"https://api.github.com/repos/fujiwara/stretcher/assignees{/user}","branches_url":"https://api.github.com/repos/fujiwara/stretcher/branches{/branch}","tags_url":"https://api.github.com/repos/fujiwara/stretcher/tags","blobs_url":"https://api.github.com/repos/fujiwara/stretcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fujiwara/stretcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fujiwara/stretcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/fujiwara/stretcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fujiwara/stretcher/statuses/{sha}","languages_url":"https://api.github.com/repos/fujiwara/stretcher/languages","stargazers_url":"https://api.github.com/repos/fujiwara/stretcher/stargazers","contributors_url":"https://api.github.com/repos/fujiwara/stretcher/contributors","subscribers_url":"https://api.github.com/repos/fujiwara/stretcher/subscribers","subscription_url":"https://api.github.com/repos/fujiwara/stretcher/subscription","commits_url":"https://api.github.com/repos/fujiwara/stretcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/fujiwara/stretcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/fujiwara/stretcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/fujiwara/stretcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/fujiwara/stretcher/contents/{+path}","compare_url":"https://api.github.com/repos/fujiwara/stretcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fujiwara/stretcher/merges","archive_url":"https://api.github.com/repos/fujiwara/stretcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fujiwara/stretcher/downloads","issues_url":"https://api.github.com/repos/fujiwara/stretcher/issues{/number}","pulls_url":"https://api.github.com/repos/fujiwara/stretcher/pulls{/number}","milestones_url":"https://api.github.com/repos/fujiwara/stretcher/milestones{/number}","notifications_url":"https://api.github.com/repos/fujiwara/stretcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fujiwara/stretcher/labels{/name}","releases_url":"https://api.github.com/repos/fujiwara/stretcher/releases{/id}","created_at":"2014-11-14T06:08:44Z","updated_at":"2015-10-14T03:53:27Z","pushed_at":"2015-10-17T01:51:11Z","git_url":"git://github.com/fujiwara/stretcher.git","ssh_url":"git@github.com:fujiwara/stretcher.git","clone_url":"https://github.com/fujiwara/stretcher.git","svn_url":"https://github.com/fujiwara/stretcher","homepage":"","size":2927,"stargazers_count":90,"watchers_count":90,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":90,"default_branch":"master"}},"base":{"label":"fujiwara:master","ref":"master","sha":"3b0c72fe7168bfbba0ec6533095d9b53ad4c85ce","user":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"repo":{"id":26624970,"name":"stretcher","full_name":"fujiwara/stretcher","owner":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fujiwara/stretcher","description":"Deployment tool with consul/serf event notification.","fork":false,"url":"https://api.github.com/repos/fujiwara/stretcher","forks_url":"https://api.github.com/repos/fujiwara/stretcher/forks","keys_url":"https://api.github.com/repos/fujiwara/stretcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fujiwara/stretcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fujiwara/stretcher/teams","hooks_url":"https://api.github.com/repos/fujiwara/stretcher/hooks","issue_events_url":"https://api.github.com/repos/fujiwara/stretcher/issues/events{/number}","events_url":"https://api.github.com/repos/fujiwara/stretcher/events","assignees_url":"https://api.github.com/repos/fujiwara/stretcher/assignees{/user}","branches_url":"https://api.github.com/repos/fujiwara/stretcher/branches{/branch}","tags_url":"https://api.github.com/repos/fujiwara/stretcher/tags","blobs_url":"https://api.github.com/repos/fujiwara/stretcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fujiwara/stretcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fujiwara/stretcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/fujiwara/stretcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fujiwara/stretcher/statuses/{sha}","languages_url":"https://api.github.com/repos/fujiwara/stretcher/languages","stargazers_url":"https://api.github.com/repos/fujiwara/stretcher/stargazers","contributors_url":"https://api.github.com/repos/fujiwara/stretcher/contributors","subscribers_url":"https://api.github.com/repos/fujiwara/stretcher/subscribers","subscription_url":"https://api.github.com/repos/fujiwara/stretcher/subscription","commits_url":"https://api.github.com/repos/fujiwara/stretcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/fujiwara/stretcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/fujiwara/stretcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/fujiwara/stretcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/fujiwara/stretcher/contents/{+path}","compare_url":"https://api.github.com/repos/fujiwara/stretcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fujiwara/stretcher/merges","archive_url":"https://api.github.com/repos/fujiwara/stretcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fujiwara/stretcher/downloads","issues_url":"https://api.github.com/repos/fujiwara/stretcher/issues{/number}","pulls_url":"https://api.github.com/repos/fujiwara/stretcher/pulls{/number}","milestones_url":"https://api.github.com/repos/fujiwara/stretcher/milestones{/number}","notifications_url":"https://api.github.com/repos/fujiwara/stretcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fujiwara/stretcher/labels{/name}","releases_url":"https://api.github.com/repos/fujiwara/stretcher/releases{/id}","created_at":"2014-11-14T06:08:44Z","updated_at":"2015-10-14T03:53:27Z","pushed_at":"2015-10-17T01:51:11Z","git_url":"git://github.com/fujiwara/stretcher.git","ssh_url":"git@github.com:fujiwara/stretcher.git","clone_url":"https://github.com/fujiwara/stretcher.git","svn_url":"https://github.com/fujiwara/stretcher","homepage":"","size":2927,"stargazers_count":90,"watchers_count":90,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":90,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fujiwara/stretcher/pulls/4"},"html":{"href":"https://github.com/fujiwara/stretcher/pull/4"},"issue":{"href":"https://api.github.com/repos/fujiwara/stretcher/issues/4"},"comments":{"href":"https://api.github.com/repos/fujiwara/stretcher/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/fujiwara/stretcher/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/fujiwara/stretcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fujiwara/stretcher/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/fujiwara/stretcher/statuses/6d92e031a70d8d129ecfb9a5dd0844bc892eca75"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fujiwara","id":67804,"avatar_url":"https://avatars.githubusercontent.com/u/67804?v=3","gravatar_id":"","url":"https://api.github.com/users/fujiwara","html_url":"https://github.com/fujiwara","followers_url":"https://api.github.com/users/fujiwara/followers","following_url":"https://api.github.com/users/fujiwara/following{/other_user}","gists_url":"https://api.github.com/users/fujiwara/gists{/gist_id}","starred_url":"https://api.github.com/users/fujiwara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fujiwara/subscriptions","organizations_url":"https://api.github.com/users/fujiwara/orgs","repos_url":"https://api.github.com/users/fujiwara/repos","events_url":"https://api.github.com/users/fujiwara/events{/privacy}","received_events_url":"https://api.github.com/users/fujiwara/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":166,"deletions":70,"changed_files":6}}