{"action":"closed","number":201,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/201","id":67054732,"html_url":"https://github.com/ministryofjustice/bootstrap-cfn/pull/201","diff_url":"https://github.com/ministryofjustice/bootstrap-cfn/pull/201.diff","patch_url":"https://github.com/ministryofjustice/bootstrap-cfn/pull/201.patch","issue_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/201","number":201,"state":"closed","locked":false,"title":"Setup boto3 default session with default region","user":{"login":"filipposc5","id":2116658,"avatar_url":"https://avatars.githubusercontent.com/u/2116658?v=3","gravatar_id":"","url":"https://api.github.com/users/filipposc5","html_url":"https://github.com/filipposc5","followers_url":"https://api.github.com/users/filipposc5/followers","following_url":"https://api.github.com/users/filipposc5/following{/other_user}","gists_url":"https://api.github.com/users/filipposc5/gists{/gist_id}","starred_url":"https://api.github.com/users/filipposc5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipposc5/subscriptions","organizations_url":"https://api.github.com/users/filipposc5/orgs","repos_url":"https://api.github.com/users/filipposc5/repos","events_url":"https://api.github.com/users/filipposc5/events{/privacy}","received_events_url":"https://api.github.com/users/filipposc5/received_events","type":"User","site_admin":false},"body":"Reason this is useful is because the workaround would be to specify for each of the aws profiles a separate entry in `~/.aws/config` in the format of: \r\n\r\n```\r\n[profile profile_name]\r\naws_region = eu-west-1\r\n```\r\nWith this change it will pick up the default region from \"env\", which is setdefault to \"eu-west-1\"","created_at":"2016-04-19T17:06:24Z","updated_at":"2016-04-21T15:52:35Z","closed_at":"2016-04-21T15:52:34Z","merged_at":"2016-04-21T15:52:34Z","merge_commit_sha":"b6408221a81e7a2b0f35529fabef87f0f851bae6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/201/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/201/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/201/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/statuses/1c8e8b696004600b377e1e54fd64346e76635398","head":{"label":"ministryofjustice:add-default-region-for-boto3","ref":"add-default-region-for-boto3","sha":"1c8e8b696004600b377e1e54fd64346e76635398","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":29302791,"name":"bootstrap-cfn","full_name":"ministryofjustice/bootstrap-cfn","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/bootstrap-cfn","description":"Opinionated layer for AWS CloudFormation","fork":false,"url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn","forks_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/forks","keys_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/events","assignees_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/merges","archive_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/deployments","created_at":"2015-01-15T15:08:58Z","updated_at":"2016-03-31T08:30:14Z","pushed_at":"2016-04-21T15:52:34Z","git_url":"git://github.com/ministryofjustice/bootstrap-cfn.git","ssh_url":"git@github.com:ministryofjustice/bootstrap-cfn.git","clone_url":"https://github.com/ministryofjustice/bootstrap-cfn.git","svn_url":"https://github.com/ministryofjustice/bootstrap-cfn","homepage":"","size":586,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":17,"forks":1,"open_issues":17,"watchers":7,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"2e21820b80826497363b0587094cd764b6cd2d65","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":29302791,"name":"bootstrap-cfn","full_name":"ministryofjustice/bootstrap-cfn","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/bootstrap-cfn","description":"Opinionated layer for AWS CloudFormation","fork":false,"url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn","forks_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/forks","keys_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/events","assignees_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/merges","archive_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/deployments","created_at":"2015-01-15T15:08:58Z","updated_at":"2016-03-31T08:30:14Z","pushed_at":"2016-04-21T15:52:34Z","git_url":"git://github.com/ministryofjustice/bootstrap-cfn.git","ssh_url":"git@github.com:ministryofjustice/bootstrap-cfn.git","clone_url":"https://github.com/ministryofjustice/bootstrap-cfn.git","svn_url":"https://github.com/ministryofjustice/bootstrap-cfn","homepage":"","size":586,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":17,"forks":1,"open_issues":17,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/201"},"html":{"href":"https://github.com/ministryofjustice/bootstrap-cfn/pull/201"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/201"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/bootstrap-cfn/statuses/1c8e8b696004600b377e1e54fd64346e76635398"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ltsampros","id":7254274,"avatar_url":"https://avatars.githubusercontent.com/u/7254274?v=3","gravatar_id":"","url":"https://api.github.com/users/ltsampros","html_url":"https://github.com/ltsampros","followers_url":"https://api.github.com/users/ltsampros/followers","following_url":"https://api.github.com/users/ltsampros/following{/other_user}","gists_url":"https://api.github.com/users/ltsampros/gists{/gist_id}","starred_url":"https://api.github.com/users/ltsampros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltsampros/subscriptions","organizations_url":"https://api.github.com/users/ltsampros/orgs","repos_url":"https://api.github.com/users/ltsampros/repos","events_url":"https://api.github.com/users/ltsampros/events{/privacy}","received_events_url":"https://api.github.com/users/ltsampros/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":10,"deletions":1,"changed_files":2}}