{"action":"created","comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/comments/208021996","pull_request_review_id":143751399,"id":208021996,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODAyMTk5Ng==","diff_hunk":"@@ -0,0 +1,36 @@\n+package heroku\n+\n+import (\n+\t\"fmt\"\n+\t\"testing\"\n+\n+\t\"github.com/hashicorp/terraform/helper/acctest\"\n+\t\"github.com/hashicorp/terraform/helper/resource\"\n+)\n+\n+func TestAccHerokuSpaceAppAccess_importBasic(t *testing.T) {\n+\tspaceName := fmt.Sprintf(\"tftest1-%s\", acctest.RandString(10))\n+\torg := getTestSpaceOrganizationName()\n+\ttestUser := getTestUser()\n+\n+\tresource.Test(t, resource.TestCase{\n+\t\tPreCheck: func() {\n+\t\t\ttestAccPreCheck(t)\n+\t\t\ttestAccSkipTestIfOrganizationMissing(t)\n+\t\t\ttestAccSkipTestIfUserMissing(t)\n+\t\t},\n+\t\tProviders:    testAccProviders,\n+\t\tCheckDestroy: testAccCheckHerokuSpaceDestroy,\n+\t\tSteps: []resource.TestStep{\n+\t\t\t{\n+\t\t\t\tConfig: testAccCheckHerokuSpaceAppAccessConfig_basic(spaceName, org, testUser, []string{\"create_apps\"}),\n+\t\t\t},\n+\t\t\t{\n+\t\t\t\tResourceName:      \"heroku_space_app_access.foobar\",\n+\t\t\t\tImportStateId:     fmt.Sprintf(\"%s:%s\", spaceName, testUser),","path":"heroku/import_heroku_space_app_access_test.go","position":30,"original_position":30,"commit_id":"8a7622e74b8a3edb187d889be4e8cbc8f8565f95","original_commit_id":"8a7622e74b8a3edb187d889be4e8cbc8f8565f95","user":{"login":"bernerdschaefer","id":193,"node_id":"MDQ6VXNlcjE5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/193?v=4","gravatar_id":"","url":"https://api.github.com/users/bernerdschaefer","html_url":"https://github.com/bernerdschaefer","followers_url":"https://api.github.com/users/bernerdschaefer/followers","following_url":"https://api.github.com/users/bernerdschaefer/following{/other_user}","gists_url":"https://api.github.com/users/bernerdschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/bernerdschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernerdschaefer/subscriptions","organizations_url":"https://api.github.com/users/bernerdschaefer/orgs","repos_url":"https://api.github.com/users/bernerdschaefer/repos","events_url":"https://api.github.com/users/bernerdschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/bernerdschaefer/received_events","type":"User","site_admin":false},"body":"Did you consider using `buildCompositeID` here?","created_at":"2018-08-06T20:39:20Z","updated_at":"2018-08-06T20:42:16Z","html_url":"https://github.com/terraform-providers/terraform-provider-heroku/pull/105#discussion_r208021996","pull_request_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/comments/208021996"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-heroku/pull/105#discussion_r208021996"},"pull_request":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105","id":204596335,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NTk2MzM1","html_url":"https://github.com/terraform-providers/terraform-provider-heroku/pull/105","diff_url":"https://github.com/terraform-providers/terraform-provider-heroku/pull/105.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-heroku/pull/105.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues/105","number":105,"state":"open","locked":false,"title":"Various test improvements and fix to heroku_space_app_access import","user":{"login":"talbright","id":212177,"node_id":"MDQ6VXNlcjIxMjE3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/212177?v=4","gravatar_id":"","url":"https://api.github.com/users/talbright","html_url":"https://github.com/talbright","followers_url":"https://api.github.com/users/talbright/followers","following_url":"https://api.github.com/users/talbright/following{/other_user}","gists_url":"https://api.github.com/users/talbright/gists{/gist_id}","starred_url":"https://api.github.com/users/talbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talbright/subscriptions","organizations_url":"https://api.github.com/users/talbright/orgs","repos_url":"https://api.github.com/users/talbright/repos","events_url":"https://api.github.com/users/talbright/events{/privacy}","received_events_url":"https://api.github.com/users/talbright/received_events","type":"User","site_admin":false},"body":"Various test improvements and cleanups and fixes to `heroku_space_app_access` import.","created_at":"2018-07-28T14:52:29Z","updated_at":"2018-08-06T20:42:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed443c4e4ebf71d7a342372ea3dcfb47b254cbcb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues/105/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/statuses/8a7622e74b8a3edb187d889be4e8cbc8f8565f95","head":{"label":"talbright:improve-tests","ref":"improve-tests","sha":"8a7622e74b8a3edb187d889be4e8cbc8f8565f95","user":{"login":"talbright","id":212177,"node_id":"MDQ6VXNlcjIxMjE3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/212177?v=4","gravatar_id":"","url":"https://api.github.com/users/talbright","html_url":"https://github.com/talbright","followers_url":"https://api.github.com/users/talbright/followers","following_url":"https://api.github.com/users/talbright/following{/other_user}","gists_url":"https://api.github.com/users/talbright/gists{/gist_id}","starred_url":"https://api.github.com/users/talbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talbright/subscriptions","organizations_url":"https://api.github.com/users/talbright/orgs","repos_url":"https://api.github.com/users/talbright/repos","events_url":"https://api.github.com/users/talbright/events{/privacy}","received_events_url":"https://api.github.com/users/talbright/received_events","type":"User","site_admin":false},"repo":{"id":138890216,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4OTAyMTY=","name":"terraform-provider-heroku","full_name":"talbright/terraform-provider-heroku","owner":{"login":"talbright","id":212177,"node_id":"MDQ6VXNlcjIxMjE3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/212177?v=4","gravatar_id":"","url":"https://api.github.com/users/talbright","html_url":"https://github.com/talbright","followers_url":"https://api.github.com/users/talbright/followers","following_url":"https://api.github.com/users/talbright/following{/other_user}","gists_url":"https://api.github.com/users/talbright/gists{/gist_id}","starred_url":"https://api.github.com/users/talbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talbright/subscriptions","organizations_url":"https://api.github.com/users/talbright/orgs","repos_url":"https://api.github.com/users/talbright/repos","events_url":"https://api.github.com/users/talbright/events{/privacy}","received_events_url":"https://api.github.com/users/talbright/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/talbright/terraform-provider-heroku","description":"Terraform Heroku provider","fork":true,"url":"https://api.github.com/repos/talbright/terraform-provider-heroku","forks_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/forks","keys_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/teams","hooks_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/hooks","issue_events_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/issues/events{/number}","events_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/events","assignees_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/assignees{/user}","branches_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/branches{/branch}","tags_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/tags","blobs_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/git/refs{/sha}","trees_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/statuses/{sha}","languages_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/languages","stargazers_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/stargazers","contributors_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/contributors","subscribers_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/subscribers","subscription_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/subscription","commits_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/commits{/sha}","git_commits_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/git/commits{/sha}","comments_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/comments{/number}","issue_comment_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/issues/comments{/number}","contents_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/contents/{+path}","compare_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/merges","archive_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/downloads","issues_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/issues{/number}","pulls_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/pulls{/number}","milestones_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/milestones{/number}","notifications_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/labels{/name}","releases_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/releases{/id}","deployments_url":"https://api.github.com/repos/talbright/terraform-provider-heroku/deployments","created_at":"2018-06-27T14:07:17Z","updated_at":"2018-07-28T02:54:17Z","pushed_at":"2018-08-06T01:16:48Z","git_url":"git://github.com/talbright/terraform-provider-heroku.git","ssh_url":"git@github.com:talbright/terraform-provider-heroku.git","clone_url":"https://github.com/talbright/terraform-provider-heroku.git","svn_url":"https://github.com/talbright/terraform-provider-heroku","homepage":"https://www.terraform.io/docs/providers/heroku/","size":5786,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"terraform-providers:master","ref":"master","sha":"9001b6f312f2f05c26886facce3cfd972c7e9542","user":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"repo":{"id":93446103,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQ0NjEwMw==","name":"terraform-provider-heroku","full_name":"terraform-providers/terraform-provider-heroku","owner":{"login":"terraform-providers","id":29154831,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTU0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/terraform-providers/terraform-provider-heroku","description":"Terraform Heroku provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/deployments","created_at":"2017-06-05T20:54:09Z","updated_at":"2018-08-06T20:00:20Z","pushed_at":"2018-08-06T20:00:18Z","git_url":"git://github.com/terraform-providers/terraform-provider-heroku.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-heroku.git","clone_url":"https://github.com/terraform-providers/terraform-provider-heroku.git","svn_url":"https://github.com/terraform-providers/terraform-provider-heroku","homepage":"https://www.terraform.io/docs/providers/heroku/","size":5800,"stargazers_count":26,"watchers_count":26,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":31,"open_issues":28,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-heroku/pull/105"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues/105"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-heroku/statuses/8a7622e74b8a3edb187d889be4e8cbc8f8565f95"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bernerdschaefer"}}