{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/comments/107803577","pull_request_review_id":28797567,"id":107803577,"diff_hunk":"@@ -27,17 +27,25 @@ Platform customers.\n before you can create any virtual machines with Compute Engine. Find the menu icon at the top left, \n then look for the *Billing* link in the navigation bar.\n \n+1. Next you will want to install the\n+[Cloud SDK](https://cloud.google.com/sdk/) and make sure you've\n+successfully authenticated and set your default project as instructed.\n+\n 1. In order for `ansible` to create Compute Engine instances, you'll need a\n [Service Account](https://cloud.google.com/compute/docs/access/service-accounts#serviceaccount). \n It's recommended that you create a new Service Account (don't use the default), called 'demo-ansible', for this demo.\n Make sure to create a new JSON formatted private key file for this Service Account. Also, note the *Email address* \n of this Service Account (should be `demo-ansible@YOUR_PROJECT_ID.iam.gserviceaccount.com`) since \n this will be required in the Ansible configuration files.\n \n-1. Next you will want to install the\n-[Cloud SDK](https://cloud.google.com/sdk/) and make sure you've\n-successfully authenticated and set your default project as instructed.\n-\n+    Example creating instance and setting scopes/iam roles using cloud shell:\n+    \n+    $ gcloud compute instances create INSTANCE NAME --scopes demo-ansible@YOUR_PROJECT_ID.iam.gserviceaccount.com=cloud-platform","path":"README.md","position":21,"original_position":21,"commit_id":"69272017a0419144fec0c1d7e93a4724c8e72931","original_commit_id":"69272017a0419144fec0c1d7e93a4724c8e72931","user":{"login":"supertom","id":46346,"avatar_url":"https://avatars1.githubusercontent.com/u/46346?v=3","gravatar_id":"","url":"https://api.github.com/users/supertom","html_url":"https://github.com/supertom","followers_url":"https://api.github.com/users/supertom/followers","following_url":"https://api.github.com/users/supertom/following{/other_user}","gists_url":"https://api.github.com/users/supertom/gists{/gist_id}","starred_url":"https://api.github.com/users/supertom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supertom/subscriptions","organizations_url":"https://api.github.com/users/supertom/orgs","repos_url":"https://api.github.com/users/supertom/repos","events_url":"https://api.github.com/users/supertom/events{/privacy}","received_events_url":"https://api.github.com/users/supertom/received_events","type":"User","site_admin":false},"body":"If we're using cloud shell, do we actually need a separate instance?  Can't we just do everything in Cloud shell?","created_at":"2017-03-23T22:58:00Z","updated_at":"2017-03-23T22:59:09Z","html_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible/pull/5#discussion_r107803577","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/comments/107803577"},"html":{"href":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible/pull/5#discussion_r107803577"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5","id":112161044,"html_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible/pull/5","diff_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible/pull/5.diff","patch_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible/pull/5.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues/5","number":5,"state":"open","locked":false,"title":"Update README.md","user":{"login":"crgomez","id":26099021,"avatar_url":"https://avatars0.githubusercontent.com/u/26099021?v=3","gravatar_id":"","url":"https://api.github.com/users/crgomez","html_url":"https://github.com/crgomez","followers_url":"https://api.github.com/users/crgomez/followers","following_url":"https://api.github.com/users/crgomez/following{/other_user}","gists_url":"https://api.github.com/users/crgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/crgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgomez/subscriptions","organizations_url":"https://api.github.com/users/crgomez/orgs","repos_url":"https://api.github.com/users/crgomez/repos","events_url":"https://api.github.com/users/crgomez/events{/privacy}","received_events_url":"https://api.github.com/users/crgomez/received_events","type":"User","site_admin":false},"body":"I moved installing the SDK tool over setting the Service Account since its easier executing via Cloud Shell.\r\n\r\nPlaced in examples of creating instance and setting scopes/iam role via Cloud Shell since GUI is confusing.\r\n\r\nAdditionally added glcoud compute ssh example for setting ssh key","created_at":"2017-03-23T04:34:31Z","updated_at":"2017-03-23T22:59:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43bd8b67927678faaf23a764d4847434de92d82c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues/5/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/statuses/69272017a0419144fec0c1d7e93a4724c8e72931","head":{"label":"crgomez:patch-1","ref":"patch-1","sha":"69272017a0419144fec0c1d7e93a4724c8e72931","user":{"login":"crgomez","id":26099021,"avatar_url":"https://avatars0.githubusercontent.com/u/26099021?v=3","gravatar_id":"","url":"https://api.github.com/users/crgomez","html_url":"https://github.com/crgomez","followers_url":"https://api.github.com/users/crgomez/followers","following_url":"https://api.github.com/users/crgomez/following{/other_user}","gists_url":"https://api.github.com/users/crgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/crgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgomez/subscriptions","organizations_url":"https://api.github.com/users/crgomez/orgs","repos_url":"https://api.github.com/users/crgomez/repos","events_url":"https://api.github.com/users/crgomez/events{/privacy}","received_events_url":"https://api.github.com/users/crgomez/received_events","type":"User","site_admin":false},"repo":{"id":85906060,"name":"compute-video-demo-ansible","full_name":"crgomez/compute-video-demo-ansible","owner":{"login":"crgomez","id":26099021,"avatar_url":"https://avatars0.githubusercontent.com/u/26099021?v=3","gravatar_id":"","url":"https://api.github.com/users/crgomez","html_url":"https://github.com/crgomez","followers_url":"https://api.github.com/users/crgomez/followers","following_url":"https://api.github.com/users/crgomez/following{/other_user}","gists_url":"https://api.github.com/users/crgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/crgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgomez/subscriptions","organizations_url":"https://api.github.com/users/crgomez/orgs","repos_url":"https://api.github.com/users/crgomez/repos","events_url":"https://api.github.com/users/crgomez/events{/privacy}","received_events_url":"https://api.github.com/users/crgomez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crgomez/compute-video-demo-ansible","description":"Supporting details for the Using Ansible on Compute Engine video demo","fork":true,"url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible","forks_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/forks","keys_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/teams","hooks_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/hooks","issue_events_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/events","assignees_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/tags","blobs_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/languages","stargazers_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/stargazers","contributors_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/contributors","subscribers_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/subscribers","subscription_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/subscription","commits_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/merges","archive_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/downloads","issues_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/labels{/name}","releases_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/crgomez/compute-video-demo-ansible/deployments","created_at":"2017-03-23T04:10:28Z","updated_at":"2017-03-23T04:10:30Z","pushed_at":"2017-03-23T04:32:53Z","git_url":"git://github.com/crgomez/compute-video-demo-ansible.git","ssh_url":"git@github.com:crgomez/compute-video-demo-ansible.git","clone_url":"https://github.com/crgomez/compute-video-demo-ansible.git","svn_url":"https://github.com/crgomez/compute-video-demo-ansible","homepage":"http://googlecloudplatform.github.io/compute-video-demo-ansible/","size":183,"stargazers_count":0,"watchers_count":0,"language":"ApacheConf","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":"GoogleCloudPlatform:master","ref":"master","sha":"ee1002b96d47268b3c39d66b00e4bee9b41c6b82","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":17640520,"name":"compute-video-demo-ansible","full_name":"GoogleCloudPlatform/compute-video-demo-ansible","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible","description":"Supporting details for the Using Ansible on Compute Engine video demo","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/deployments","created_at":"2014-03-11T18:00:29Z","updated_at":"2017-03-05T03:24:46Z","pushed_at":"2017-03-23T04:34:32Z","git_url":"git://github.com/GoogleCloudPlatform/compute-video-demo-ansible.git","ssh_url":"git@github.com:GoogleCloudPlatform/compute-video-demo-ansible.git","clone_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible.git","svn_url":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible","homepage":"http://googlecloudplatform.github.io/compute-video-demo-ansible/","size":215,"stargazers_count":52,"watchers_count":52,"language":"ApacheConf","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":2,"forks":23,"open_issues":2,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5"},"html":{"href":"https://github.com/GoogleCloudPlatform/compute-video-demo-ansible/pull/5"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues/5"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/compute-video-demo-ansible/statuses/69272017a0419144fec0c1d7e93a4724c8e72931"}}}}
{"actor":{"display_login":"supertom"}}