{"action":"opened","number":172,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/172","id":218621032,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NjIxMDMy","html_url":"https://github.com/ministryofjustice/analytics-platform-ops/pull/172","diff_url":"https://github.com/ministryofjustice/analytics-platform-ops/pull/172.diff","patch_url":"https://github.com/ministryofjustice/analytics-platform-ops/pull/172.patch","issue_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/172","number":172,"state":"open","locked":false,"title":"Improved instructions for lambda go compilation","user":{"login":"davidread","id":307612,"node_id":"MDQ6VXNlcjMwNzYxMg==","avatar_url":"https://avatars2.githubusercontent.com/u/307612?v=4","gravatar_id":"","url":"https://api.github.com/users/davidread","html_url":"https://github.com/davidread","followers_url":"https://api.github.com/users/davidread/followers","following_url":"https://api.github.com/users/davidread/following{/other_user}","gists_url":"https://api.github.com/users/davidread/gists{/gist_id}","starred_url":"https://api.github.com/users/davidread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidread/subscriptions","organizations_url":"https://api.github.com/users/davidread/orgs","repos_url":"https://api.github.com/users/davidread/repos","events_url":"https://api.github.com/users/davidread/events{/privacy}","received_events_url":"https://api.github.com/users/davidread/received_events","type":"User","site_admin":false},"body":"## What\r\n\r\nUse a docker container to compile the go code.\r\n\r\nWithout doing these steps you get errors like this when running the global terraform:\r\n```\r\n$ terraform plan\r\nError: Error refreshing state: 2 error(s) occurred:\r\n\r\n* data.archive_file.kubernetes_prune_ebs_snapshots_code: 1 error(s) occurred:\r\n\r\n* data.archive_file.kubernetes_prune_ebs_snapshots_code: data.archive_file.kubernetes_prune_ebs_snapshots_code: error archiving file: could not archive missing file: assets/prune_ebs_snapshots/prune_ebs_snapshots\r\n* data.archive_file.kubernetes_etcd_ebs_snapshot_code: 1 error(s) occurred:\r\n\r\n* data.archive_file.kubernetes_etcd_ebs_snapshot_code: data.archive_file.kubernetes_etcd_ebs_snapshot_code: error archiving file: could not archive missing file: assets/create_etcd_ebs_snapshot/create_etcd_ebs_snapshot\r\n```\r\n\r\n## How to review\r\n\r\nFollow the instructions. Run terraform to see that you don't get errors about missing archive any more.","created_at":"2018-09-27T11:43:33Z","updated_at":"2018-09-27T11:43:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/172/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/172/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/172/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/statuses/830c0f4346844b20b8299f1bd67c23cb45ebed1b","head":{"label":"ministryofjustice:lambda-compilation","ref":"lambda-compilation","sha":"830c0f4346844b20b8299f1bd67c23cb45ebed1b","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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":77397761,"node_id":"MDEwOlJlcG9zaXRvcnk3NzM5Nzc2MQ==","name":"analytics-platform-ops","full_name":"ministryofjustice/analytics-platform-ops","private":false,"owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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},"html_url":"https://github.com/ministryofjustice/analytics-platform-ops","description":"Ops and deployment resources for MOJ Analytics platform","fork":false,"url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops","forks_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/forks","keys_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/events","assignees_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/merges","archive_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/deployments","created_at":"2016-12-26T17:27:30Z","updated_at":"2018-09-27T11:22:05Z","pushed_at":"2018-09-27T11:41:28Z","git_url":"git://github.com/ministryofjustice/analytics-platform-ops.git","ssh_url":"git@github.com:ministryofjustice/analytics-platform-ops.git","clone_url":"https://github.com/ministryofjustice/analytics-platform-ops.git","svn_url":"https://github.com/ministryofjustice/analytics-platform-ops","homepage":"","size":2377,"stargazers_count":9,"watchers_count":9,"language":"HCL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":5,"watchers":9,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"a021b0e0b5462dddd0070d6a77c3a9a668ae4881","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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":77397761,"node_id":"MDEwOlJlcG9zaXRvcnk3NzM5Nzc2MQ==","name":"analytics-platform-ops","full_name":"ministryofjustice/analytics-platform-ops","private":false,"owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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},"html_url":"https://github.com/ministryofjustice/analytics-platform-ops","description":"Ops and deployment resources for MOJ Analytics platform","fork":false,"url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops","forks_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/forks","keys_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/events","assignees_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/merges","archive_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/deployments","created_at":"2016-12-26T17:27:30Z","updated_at":"2018-09-27T11:22:05Z","pushed_at":"2018-09-27T11:41:28Z","git_url":"git://github.com/ministryofjustice/analytics-platform-ops.git","ssh_url":"git@github.com:ministryofjustice/analytics-platform-ops.git","clone_url":"https://github.com/ministryofjustice/analytics-platform-ops.git","svn_url":"https://github.com/ministryofjustice/analytics-platform-ops","homepage":"","size":2377,"stargazers_count":9,"watchers_count":9,"language":"HCL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/172"},"html":{"href":"https://github.com/ministryofjustice/analytics-platform-ops/pull/172"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/172"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/issues/172/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/172/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/pulls/172/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/analytics-platform-ops/statuses/830c0f4346844b20b8299f1bd67c23cb45ebed1b"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":59,"deletions":16,"changed_files":4}}
{"actor":{"display_login":"davidread"}}