{"action":"closed","number":10509,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/10509","id":96359690,"html_url":"https://github.com/hashicorp/terraform/pull/10509","diff_url":"https://github.com/hashicorp/terraform/pull/10509.diff","patch_url":"https://github.com/hashicorp/terraform/pull/10509.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/10509","number":10509,"state":"closed","locked":false,"title":"provider/openstack: Detect Region for Importing Resources","user":{"login":"jtopjian","id":46959,"avatar_url":"https://avatars.githubusercontent.com/u/46959?v=3","gravatar_id":"","url":"https://api.github.com/users/jtopjian","html_url":"https://github.com/jtopjian","followers_url":"https://api.github.com/users/jtopjian/followers","following_url":"https://api.github.com/users/jtopjian/following{/other_user}","gists_url":"https://api.github.com/users/jtopjian/gists{/gist_id}","starred_url":"https://api.github.com/users/jtopjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtopjian/subscriptions","organizations_url":"https://api.github.com/users/jtopjian/orgs","repos_url":"https://api.github.com/users/jtopjian/repos","events_url":"https://api.github.com/users/jtopjian/events{/privacy}","received_events_url":"https://api.github.com/users/jtopjian/received_events","type":"User","site_admin":false},"body":"This commit changes the way the OpenStack region is detected and set.\r\nAny time a region is required, the region attribute will first be\r\nchecked. Next, the OS_REGION_NAME environment variable will be checked.\r\nWhile schema.EnvDefaultFunc handles this same situation, it is not\r\napplicable when importing resources.\r\n\r\nFixes #9054","created_at":"2016-12-02T21:54:45Z","updated_at":"2016-12-04T14:24:07Z","closed_at":"2016-12-04T14:24:07Z","merged_at":"2016-12-04T14:24:07Z","merge_commit_sha":"b2f9a3a6fd49ed599449340ad831158bbd2bb1e6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/terraform/pulls/10509/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform/pulls/10509/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/10509/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/9e488e22d3e95dc7243fb768be14d668ac17d5f7","head":{"label":"jtopjian:openstack-import-region","ref":"openstack-import-region","sha":"9e488e22d3e95dc7243fb768be14d668ac17d5f7","user":{"login":"jtopjian","id":46959,"avatar_url":"https://avatars.githubusercontent.com/u/46959?v=3","gravatar_id":"","url":"https://api.github.com/users/jtopjian","html_url":"https://github.com/jtopjian","followers_url":"https://api.github.com/users/jtopjian/followers","following_url":"https://api.github.com/users/jtopjian/following{/other_user}","gists_url":"https://api.github.com/users/jtopjian/gists{/gist_id}","starred_url":"https://api.github.com/users/jtopjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtopjian/subscriptions","organizations_url":"https://api.github.com/users/jtopjian/orgs","repos_url":"https://api.github.com/users/jtopjian/repos","events_url":"https://api.github.com/users/jtopjian/events{/privacy}","received_events_url":"https://api.github.com/users/jtopjian/received_events","type":"User","site_admin":false},"repo":{"id":45695659,"name":"terraform","full_name":"jtopjian/terraform","owner":{"login":"jtopjian","id":46959,"avatar_url":"https://avatars.githubusercontent.com/u/46959?v=3","gravatar_id":"","url":"https://api.github.com/users/jtopjian","html_url":"https://github.com/jtopjian","followers_url":"https://api.github.com/users/jtopjian/followers","following_url":"https://api.github.com/users/jtopjian/following{/other_user}","gists_url":"https://api.github.com/users/jtopjian/gists{/gist_id}","starred_url":"https://api.github.com/users/jtopjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtopjian/subscriptions","organizations_url":"https://api.github.com/users/jtopjian/orgs","repos_url":"https://api.github.com/users/jtopjian/repos","events_url":"https://api.github.com/users/jtopjian/events{/privacy}","received_events_url":"https://api.github.com/users/jtopjian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jtopjian/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":true,"url":"https://api.github.com/repos/jtopjian/terraform","forks_url":"https://api.github.com/repos/jtopjian/terraform/forks","keys_url":"https://api.github.com/repos/jtopjian/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jtopjian/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jtopjian/terraform/teams","hooks_url":"https://api.github.com/repos/jtopjian/terraform/hooks","issue_events_url":"https://api.github.com/repos/jtopjian/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/jtopjian/terraform/events","assignees_url":"https://api.github.com/repos/jtopjian/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/jtopjian/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/jtopjian/terraform/tags","blobs_url":"https://api.github.com/repos/jtopjian/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jtopjian/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jtopjian/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/jtopjian/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jtopjian/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/jtopjian/terraform/languages","stargazers_url":"https://api.github.com/repos/jtopjian/terraform/stargazers","contributors_url":"https://api.github.com/repos/jtopjian/terraform/contributors","subscribers_url":"https://api.github.com/repos/jtopjian/terraform/subscribers","subscription_url":"https://api.github.com/repos/jtopjian/terraform/subscription","commits_url":"https://api.github.com/repos/jtopjian/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/jtopjian/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/jtopjian/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/jtopjian/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/jtopjian/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/jtopjian/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jtopjian/terraform/merges","archive_url":"https://api.github.com/repos/jtopjian/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jtopjian/terraform/downloads","issues_url":"https://api.github.com/repos/jtopjian/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/jtopjian/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/jtopjian/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/jtopjian/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jtopjian/terraform/labels{/name}","releases_url":"https://api.github.com/repos/jtopjian/terraform/releases{/id}","deployments_url":"https://api.github.com/repos/jtopjian/terraform/deployments","created_at":"2015-11-06T17:11:56Z","updated_at":"2015-11-06T17:12:02Z","pushed_at":"2016-12-02T21:53:09Z","git_url":"git://github.com/jtopjian/terraform.git","ssh_url":"git@github.com:jtopjian/terraform.git","clone_url":"https://github.com/jtopjian/terraform.git","svn_url":"https://github.com/jtopjian/terraform","homepage":"http://www.terraform.io","size":67085,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"84d8b28b400f2dec221029cd8e30b0dee9d80a08","user":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":17728164,"name":"terraform","full_name":"hashicorp/terraform","owner":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/terraform","description":"Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform","forks_url":"https://api.github.com/repos/hashicorp/terraform/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/terraform/deployments","created_at":"2014-03-13T22:25:48Z","updated_at":"2016-12-04T07:06:02Z","pushed_at":"2016-12-04T14:24:07Z","git_url":"git://github.com/hashicorp/terraform.git","ssh_url":"git@github.com:hashicorp/terraform.git","clone_url":"https://github.com/hashicorp/terraform.git","svn_url":"https://github.com/hashicorp/terraform","homepage":"https://www.terraform.io/","size":161697,"stargazers_count":6412,"watchers_count":6412,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2251,"mirror_url":null,"open_issues_count":1587,"forks":2251,"open_issues":1587,"watchers":6412,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/10509"},"html":{"href":"https://github.com/hashicorp/terraform/pull/10509"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/10509"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform/issues/10509/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/10509/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform/pulls/10509/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform/statuses/9e488e22d3e95dc7243fb768be14d668ac17d5f7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stack72","id":227823,"avatar_url":"https://avatars.githubusercontent.com/u/227823?v=3","gravatar_id":"","url":"https://api.github.com/users/stack72","html_url":"https://github.com/stack72","followers_url":"https://api.github.com/users/stack72/followers","following_url":"https://api.github.com/users/stack72/following{/other_user}","gists_url":"https://api.github.com/users/stack72/gists{/gist_id}","starred_url":"https://api.github.com/users/stack72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stack72/subscriptions","organizations_url":"https://api.github.com/users/stack72/orgs","repos_url":"https://api.github.com/users/stack72/repos","events_url":"https://api.github.com/users/stack72/events{/privacy}","received_events_url":"https://api.github.com/users/stack72/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":268,"deletions":253,"changed_files":54}}
{"actor":{"display_login":"stack72"}}