{"action":"created","comment":{"url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/comments/176575496","pull_request_review_id":106305861,"id":176575496,"diff_hunk":"@@ -0,0 +1,199 @@\n+#!/bin/bash\n+\n+check_aws_connection(){\n+\tprint_function_details\n+\tCALLER_ARN=$(aws sts get-caller-identity | jq -r '.Arn')\n+\tif [[ -z \"$CALLER_ARN\" ]]; then\t\n+\t\tprint_error_and_exit \"The aws cli does not have the propper credentials. Please fix and then try again.\"\n+\tfi\n+}\n+\n+parse_user_input(){\n+\tprint_function_details\n+\tAWS_ACCOUNT_NAME=$(jq -r '.AWS_ACCOUNT_NAME' fill-me-out.json)\n+\tAWS_VPC_NAME=$(jq -r '.AWS_VPC_NAME' fill-me-out.json)\n+\tAWS_REGION=$(jq -r '.AWS_REGION' fill-me-out.json)\n+\tMANAGING_ACCOUNT_ID=$(jq -r '.MANAGING_ACCOUNT_ID' fill-me-out.json)\n+\tAUTH_TYPE=$(jq -r '.AUTH_TYPE' fill-me-out.json)\n+\n+\tif [[ -z \"$MANAGING_ACCOUNT_ID\" ]]","path":"downloads/aws/setup-aws.sh","position":19,"original_position":19,"commit_id":"b930115ce33ee892909c1b7b18f5089724969f99","original_commit_id":"b930115ce33ee892909c1b7b18f5089724969f99","user":{"login":"emjburns","id":8454927,"avatar_url":"https://avatars1.githubusercontent.com/u/8454927?v=4","gravatar_id":"","url":"https://api.github.com/users/emjburns","html_url":"https://github.com/emjburns","followers_url":"https://api.github.com/users/emjburns/followers","following_url":"https://api.github.com/users/emjburns/following{/other_user}","gists_url":"https://api.github.com/users/emjburns/gists{/gist_id}","starred_url":"https://api.github.com/users/emjburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emjburns/subscriptions","organizations_url":"https://api.github.com/users/emjburns/orgs","repos_url":"https://api.github.com/users/emjburns/repos","events_url":"https://api.github.com/users/emjburns/events{/privacy}","received_events_url":"https://api.github.com/users/emjburns/received_events","type":"User","site_admin":false},"body":"No. I will fix this to be consistent. ","created_at":"2018-03-22T21:19:02Z","updated_at":"2018-03-22T21:19:02Z","html_url":"https://github.com/spinnaker/spinnaker.github.io/pull/628#discussion_r176575496","pull_request_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/comments/176575496"},"html":{"href":"https://github.com/spinnaker/spinnaker.github.io/pull/628#discussion_r176575496"},"pull_request":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628"}},"in_reply_to_id":176070652},"pull_request":{"url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628","id":176323254,"html_url":"https://github.com/spinnaker/spinnaker.github.io/pull/628","diff_url":"https://github.com/spinnaker/spinnaker.github.io/pull/628.diff","patch_url":"https://github.com/spinnaker/spinnaker.github.io/pull/628.patch","issue_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues/628","number":628,"state":"open","locked":false,"title":"feat(aws setup): adding downloadable aws setup scripts","user":{"login":"emjburns","id":8454927,"avatar_url":"https://avatars1.githubusercontent.com/u/8454927?v=4","gravatar_id":"","url":"https://api.github.com/users/emjburns","html_url":"https://github.com/emjburns","followers_url":"https://api.github.com/users/emjburns/followers","following_url":"https://api.github.com/users/emjburns/following{/other_user}","gists_url":"https://api.github.com/users/emjburns/gists{/gist_id}","starred_url":"https://api.github.com/users/emjburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emjburns/subscriptions","organizations_url":"https://api.github.com/users/emjburns/orgs","repos_url":"https://api.github.com/users/emjburns/repos","events_url":"https://api.github.com/users/emjburns/events{/privacy}","received_events_url":"https://api.github.com/users/emjburns/received_events","type":"User","site_admin":false},"body":"First pass at scripting the aws setup. \r\n- will add links and a `wget` command to download at the top of [aws account page](https://www.spinnaker.io/setup/install/providers/aws/)\r\n- @robzienert and I want to provide a better initial vpc setup, and potentially switch this over to teraform. But this is a start.","created_at":"2018-03-20T21:09:42Z","updated_at":"2018-03-22T21:19:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f5d82514ee81ca7a805007d2437270a2ad7ff9e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628/commits","review_comments_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628/comments","review_comment_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues/628/comments","statuses_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/statuses/b930115ce33ee892909c1b7b18f5089724969f99","head":{"label":"emjburns:master","ref":"master","sha":"b930115ce33ee892909c1b7b18f5089724969f99","user":{"login":"emjburns","id":8454927,"avatar_url":"https://avatars1.githubusercontent.com/u/8454927?v=4","gravatar_id":"","url":"https://api.github.com/users/emjburns","html_url":"https://github.com/emjburns","followers_url":"https://api.github.com/users/emjburns/followers","following_url":"https://api.github.com/users/emjburns/following{/other_user}","gists_url":"https://api.github.com/users/emjburns/gists{/gist_id}","starred_url":"https://api.github.com/users/emjburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emjburns/subscriptions","organizations_url":"https://api.github.com/users/emjburns/orgs","repos_url":"https://api.github.com/users/emjburns/repos","events_url":"https://api.github.com/users/emjburns/events{/privacy}","received_events_url":"https://api.github.com/users/emjburns/received_events","type":"User","site_admin":false},"repo":{"id":89525460,"name":"spinnaker.github.io","full_name":"emjburns/spinnaker.github.io","owner":{"login":"emjburns","id":8454927,"avatar_url":"https://avatars1.githubusercontent.com/u/8454927?v=4","gravatar_id":"","url":"https://api.github.com/users/emjburns","html_url":"https://github.com/emjburns","followers_url":"https://api.github.com/users/emjburns/followers","following_url":"https://api.github.com/users/emjburns/following{/other_user}","gists_url":"https://api.github.com/users/emjburns/gists{/gist_id}","starred_url":"https://api.github.com/users/emjburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emjburns/subscriptions","organizations_url":"https://api.github.com/users/emjburns/orgs","repos_url":"https://api.github.com/users/emjburns/repos","events_url":"https://api.github.com/users/emjburns/events{/privacy}","received_events_url":"https://api.github.com/users/emjburns/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emjburns/spinnaker.github.io","description":"spinnaker documentation site","fork":true,"url":"https://api.github.com/repos/emjburns/spinnaker.github.io","forks_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/forks","keys_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/teams","hooks_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/hooks","issue_events_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/events","assignees_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/tags","blobs_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/languages","stargazers_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/stargazers","contributors_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/contributors","subscribers_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/subscribers","subscription_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/subscription","commits_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/merges","archive_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/downloads","issues_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/labels{/name}","releases_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/emjburns/spinnaker.github.io/deployments","created_at":"2017-04-26T20:51:19Z","updated_at":"2018-03-20T21:54:49Z","pushed_at":"2018-03-20T21:54:48Z","git_url":"git://github.com/emjburns/spinnaker.github.io.git","ssh_url":"git@github.com:emjburns/spinnaker.github.io.git","clone_url":"https://github.com/emjburns/spinnaker.github.io.git","svn_url":"https://github.com/emjburns/spinnaker.github.io","homepage":null,"size":37662,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spinnaker:master","ref":"master","sha":"6562bee636b816154b57685918cea33b89d5b690","user":{"login":"spinnaker","id":7634182,"avatar_url":"https://avatars1.githubusercontent.com/u/7634182?v=4","gravatar_id":"","url":"https://api.github.com/users/spinnaker","html_url":"https://github.com/spinnaker","followers_url":"https://api.github.com/users/spinnaker/followers","following_url":"https://api.github.com/users/spinnaker/following{/other_user}","gists_url":"https://api.github.com/users/spinnaker/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnaker/subscriptions","organizations_url":"https://api.github.com/users/spinnaker/orgs","repos_url":"https://api.github.com/users/spinnaker/repos","events_url":"https://api.github.com/users/spinnaker/events{/privacy}","received_events_url":"https://api.github.com/users/spinnaker/received_events","type":"Organization","site_admin":false},"repo":{"id":86486443,"name":"spinnaker.github.io","full_name":"spinnaker/spinnaker.github.io","owner":{"login":"spinnaker","id":7634182,"avatar_url":"https://avatars1.githubusercontent.com/u/7634182?v=4","gravatar_id":"","url":"https://api.github.com/users/spinnaker","html_url":"https://github.com/spinnaker","followers_url":"https://api.github.com/users/spinnaker/followers","following_url":"https://api.github.com/users/spinnaker/following{/other_user}","gists_url":"https://api.github.com/users/spinnaker/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnaker/subscriptions","organizations_url":"https://api.github.com/users/spinnaker/orgs","repos_url":"https://api.github.com/users/spinnaker/repos","events_url":"https://api.github.com/users/spinnaker/events{/privacy}","received_events_url":"https://api.github.com/users/spinnaker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spinnaker/spinnaker.github.io","description":"spinnaker documentation site","fork":false,"url":"https://api.github.com/repos/spinnaker/spinnaker.github.io","forks_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/forks","keys_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/teams","hooks_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/hooks","issue_events_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/events","assignees_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/tags","blobs_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/languages","stargazers_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/stargazers","contributors_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/contributors","subscribers_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/subscribers","subscription_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/subscription","commits_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/merges","archive_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/downloads","issues_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/labels{/name}","releases_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/spinnaker/spinnaker.github.io/deployments","created_at":"2017-03-28T17:09:59Z","updated_at":"2018-03-21T20:17:41Z","pushed_at":"2018-03-21T20:17:38Z","git_url":"git://github.com/spinnaker/spinnaker.github.io.git","ssh_url":"git@github.com:spinnaker/spinnaker.github.io.git","clone_url":"https://github.com/spinnaker/spinnaker.github.io.git","svn_url":"https://github.com/spinnaker/spinnaker.github.io","homepage":null,"size":37725,"stargazers_count":14,"watchers_count":14,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":107,"open_issues":58,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628"},"html":{"href":"https://github.com/spinnaker/spinnaker.github.io/pull/628"},"issue":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues/628"},"comments":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/issues/628/comments"},"review_comments":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628/comments"},"review_comment":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/pulls/628/commits"},"statuses":{"href":"https://api.github.com/repos/spinnaker/spinnaker.github.io/statuses/b930115ce33ee892909c1b7b18f5089724969f99"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"emjburns"}}