{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/tectonic-installer/pulls/comments/180536023","pull_request_review_id":110972451,"id":180536023,"diff_hunk":"@@ -0,0 +1,44 @@\n+resource \"digitalocean_floating_ip\" \"master\" {\n+  region = \"${var.droplet_region}\"\n+}\n+\n+resource \"null_resource\" \"tectonic_assets\" {\n+  # Changes to any asset requires re-provisioning\n+  triggers {\n+    assets = \"${var.assets_id}\"\n+  }\n+\n+  provisioner \"local-exec\" {\n+    command = \"./generated/bin/do-pusher.sh ${var.assets_path} ${var.spaces_bucket}/assets.zip\"\n+  }\n+}\n+\n+resource \"null_resource\" \"kubeconfig\" {\n+  triggers {\n+    assets = \"${var.kubeconfig_id}\"\n+  }\n+}\n+\n+resource \"digitalocean_droplet\" \"master_node\" {\n+  count      = 1\n+  depends_on = [\"null_resource.tectonic_assets\", \"null_resource.kubeconfig\"]\n+  name       = \"${var.cluster_name}-master-${count.index}\"\n+  image      = \"${var.droplet_image}\"\n+  region     = \"${var.droplet_region}\"\n+  size       = \"${var.droplet_size}\"\n+  ssh_keys   = [\"${var.ssh_keys}\"]\n+  tags       = [\"${var.extra_tags}\"]\n+  user_data  = \"${data.ignition_config.main.rendered}\"","path":"modules/digitalocean/master/master.tf","position":31,"original_position":31,"commit_id":"db1c71ece2b823cf063edb8d275bfe33dabe0497","original_commit_id":"db1c71ece2b823cf063edb8d275bfe33dabe0497","user":{"login":"aknuds1","id":281303,"avatar_url":"https://avatars1.githubusercontent.com/u/281303?v=4","gravatar_id":"","url":"https://api.github.com/users/aknuds1","html_url":"https://github.com/aknuds1","followers_url":"https://api.github.com/users/aknuds1/followers","following_url":"https://api.github.com/users/aknuds1/following{/other_user}","gists_url":"https://api.github.com/users/aknuds1/gists{/gist_id}","starred_url":"https://api.github.com/users/aknuds1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknuds1/subscriptions","organizations_url":"https://api.github.com/users/aknuds1/orgs","repos_url":"https://api.github.com/users/aknuds1/repos","events_url":"https://api.github.com/users/aknuds1/events{/privacy}","received_events_url":"https://api.github.com/users/aknuds1/received_events","type":"User","site_admin":false},"body":"@ditansu It's a good point, I wasn't aware of DigitalOcean's support for this until recently. Maybe it should be an option whether to create private nodes or not?","created_at":"2018-04-10T19:08:01Z","updated_at":"2018-04-10T19:08:01Z","html_url":"https://github.com/coreos/tectonic-installer/pull/604#discussion_r180536023","pull_request_url":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/coreos/tectonic-installer/pulls/comments/180536023"},"html":{"href":"https://github.com/coreos/tectonic-installer/pull/604#discussion_r180536023"},"pull_request":{"href":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604"}},"in_reply_to_id":180361699},"pull_request":{"url":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604","id":119601806,"html_url":"https://github.com/coreos/tectonic-installer/pull/604","diff_url":"https://github.com/coreos/tectonic-installer/pull/604.diff","patch_url":"https://github.com/coreos/tectonic-installer/pull/604.patch","issue_url":"https://api.github.com/repos/coreos/tectonic-installer/issues/604","number":604,"state":"closed","locked":false,"title":"Add setup for deploying to DigitalOcean","user":{"login":"aknuds1","id":281303,"avatar_url":"https://avatars1.githubusercontent.com/u/281303?v=4","gravatar_id":"","url":"https://api.github.com/users/aknuds1","html_url":"https://github.com/aknuds1","followers_url":"https://api.github.com/users/aknuds1/followers","following_url":"https://api.github.com/users/aknuds1/following{/other_user}","gists_url":"https://api.github.com/users/aknuds1/gists{/gist_id}","starred_url":"https://api.github.com/users/aknuds1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknuds1/subscriptions","organizations_url":"https://api.github.com/users/aknuds1/orgs","repos_url":"https://api.github.com/users/aknuds1/repos","events_url":"https://api.github.com/users/aknuds1/events{/privacy}","received_events_url":"https://api.github.com/users/aknuds1/received_events","type":"User","site_admin":false},"body":"This is a port of Tectonic Installer to DigitalOcean.\r\n\r\n  ","created_at":"2017-05-09T07:48:32Z","updated_at":"2018-04-10T19:08:01Z","closed_at":"2018-01-30T15:36:47Z","merged_at":null,"merge_commit_sha":"17e3c3f69dae3fd59dc759d1129a39683c5d0afe","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":537024179,"url":"https://api.github.com/repos/coreos/tectonic-installer/labels/needs%20review","name":"needs review","color":"b60205","default":false},{"id":560924812,"url":"https://api.github.com/repos/coreos/tectonic-installer/labels/platform/digitalocean","name":"platform/digitalocean","color":"f9d0c4","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604/commits","review_comments_url":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604/comments","review_comment_url":"https://api.github.com/repos/coreos/tectonic-installer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/tectonic-installer/issues/604/comments","statuses_url":"https://api.github.com/repos/coreos/tectonic-installer/statuses/db1c71ece2b823cf063edb8d275bfe33dabe0497","head":{"label":"aknuds1:digitalocean","ref":"digitalocean","sha":"db1c71ece2b823cf063edb8d275bfe33dabe0497","user":{"login":"aknuds1","id":281303,"avatar_url":"https://avatars1.githubusercontent.com/u/281303?v=4","gravatar_id":"","url":"https://api.github.com/users/aknuds1","html_url":"https://github.com/aknuds1","followers_url":"https://api.github.com/users/aknuds1/followers","following_url":"https://api.github.com/users/aknuds1/following{/other_user}","gists_url":"https://api.github.com/users/aknuds1/gists{/gist_id}","starred_url":"https://api.github.com/users/aknuds1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknuds1/subscriptions","organizations_url":"https://api.github.com/users/aknuds1/orgs","repos_url":"https://api.github.com/users/aknuds1/repos","events_url":"https://api.github.com/users/aknuds1/events{/privacy}","received_events_url":"https://api.github.com/users/aknuds1/received_events","type":"User","site_admin":false},"repo":{"id":90307909,"name":"tectonic-installer","full_name":"aknuds1/tectonic-installer","owner":{"login":"aknuds1","id":281303,"avatar_url":"https://avatars1.githubusercontent.com/u/281303?v=4","gravatar_id":"","url":"https://api.github.com/users/aknuds1","html_url":"https://github.com/aknuds1","followers_url":"https://api.github.com/users/aknuds1/followers","following_url":"https://api.github.com/users/aknuds1/following{/other_user}","gists_url":"https://api.github.com/users/aknuds1/gists{/gist_id}","starred_url":"https://api.github.com/users/aknuds1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknuds1/subscriptions","organizations_url":"https://api.github.com/users/aknuds1/orgs","repos_url":"https://api.github.com/users/aknuds1/repos","events_url":"https://api.github.com/users/aknuds1/events{/privacy}","received_events_url":"https://api.github.com/users/aknuds1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aknuds1/tectonic-installer","description":"Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more","fork":true,"url":"https://api.github.com/repos/aknuds1/tectonic-installer","forks_url":"https://api.github.com/repos/aknuds1/tectonic-installer/forks","keys_url":"https://api.github.com/repos/aknuds1/tectonic-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aknuds1/tectonic-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aknuds1/tectonic-installer/teams","hooks_url":"https://api.github.com/repos/aknuds1/tectonic-installer/hooks","issue_events_url":"https://api.github.com/repos/aknuds1/tectonic-installer/issues/events{/number}","events_url":"https://api.github.com/repos/aknuds1/tectonic-installer/events","assignees_url":"https://api.github.com/repos/aknuds1/tectonic-installer/assignees{/user}","branches_url":"https://api.github.com/repos/aknuds1/tectonic-installer/branches{/branch}","tags_url":"https://api.github.com/repos/aknuds1/tectonic-installer/tags","blobs_url":"https://api.github.com/repos/aknuds1/tectonic-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aknuds1/tectonic-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aknuds1/tectonic-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/aknuds1/tectonic-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aknuds1/tectonic-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/aknuds1/tectonic-installer/languages","stargazers_url":"https://api.github.com/repos/aknuds1/tectonic-installer/stargazers","contributors_url":"https://api.github.com/repos/aknuds1/tectonic-installer/contributors","subscribers_url":"https://api.github.com/repos/aknuds1/tectonic-installer/subscribers","subscription_url":"https://api.github.com/repos/aknuds1/tectonic-installer/subscription","commits_url":"https://api.github.com/repos/aknuds1/tectonic-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/aknuds1/tectonic-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/aknuds1/tectonic-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/aknuds1/tectonic-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/aknuds1/tectonic-installer/contents/{+path}","compare_url":"https://api.github.com/repos/aknuds1/tectonic-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aknuds1/tectonic-installer/merges","archive_url":"https://api.github.com/repos/aknuds1/tectonic-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aknuds1/tectonic-installer/downloads","issues_url":"https://api.github.com/repos/aknuds1/tectonic-installer/issues{/number}","pulls_url":"https://api.github.com/repos/aknuds1/tectonic-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/aknuds1/tectonic-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/aknuds1/tectonic-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aknuds1/tectonic-installer/labels{/name}","releases_url":"https://api.github.com/repos/aknuds1/tectonic-installer/releases{/id}","deployments_url":"https://api.github.com/repos/aknuds1/tectonic-installer/deployments","created_at":"2017-05-04T20:44:01Z","updated_at":"2017-09-27T07:35:14Z","pushed_at":"2018-02-23T13:14:08Z","git_url":"git://github.com/aknuds1/tectonic-installer.git","ssh_url":"git@github.com:aknuds1/tectonic-installer.git","clone_url":"https://github.com/aknuds1/tectonic-installer.git","svn_url":"https://github.com/aknuds1/tectonic-installer","homepage":"","size":32322,"stargazers_count":1,"watchers_count":1,"language":"HCL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"304f5a836ceba659ab9804d06077ba3b7d32e7aa","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":81620471,"name":"tectonic-installer","full_name":"coreos/tectonic-installer","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/tectonic-installer","description":"Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more","fork":false,"url":"https://api.github.com/repos/coreos/tectonic-installer","forks_url":"https://api.github.com/repos/coreos/tectonic-installer/forks","keys_url":"https://api.github.com/repos/coreos/tectonic-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/tectonic-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/tectonic-installer/teams","hooks_url":"https://api.github.com/repos/coreos/tectonic-installer/hooks","issue_events_url":"https://api.github.com/repos/coreos/tectonic-installer/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/tectonic-installer/events","assignees_url":"https://api.github.com/repos/coreos/tectonic-installer/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/tectonic-installer/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/tectonic-installer/tags","blobs_url":"https://api.github.com/repos/coreos/tectonic-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/tectonic-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/tectonic-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/tectonic-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/tectonic-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/tectonic-installer/languages","stargazers_url":"https://api.github.com/repos/coreos/tectonic-installer/stargazers","contributors_url":"https://api.github.com/repos/coreos/tectonic-installer/contributors","subscribers_url":"https://api.github.com/repos/coreos/tectonic-installer/subscribers","subscription_url":"https://api.github.com/repos/coreos/tectonic-installer/subscription","commits_url":"https://api.github.com/repos/coreos/tectonic-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/tectonic-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/tectonic-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/tectonic-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/tectonic-installer/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/tectonic-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/tectonic-installer/merges","archive_url":"https://api.github.com/repos/coreos/tectonic-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/tectonic-installer/downloads","issues_url":"https://api.github.com/repos/coreos/tectonic-installer/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/tectonic-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/tectonic-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/tectonic-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/tectonic-installer/labels{/name}","releases_url":"https://api.github.com/repos/coreos/tectonic-installer/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/tectonic-installer/deployments","created_at":"2017-02-11T00:52:23Z","updated_at":"2018-04-10T12:33:35Z","pushed_at":"2018-04-10T16:47:58Z","git_url":"git://github.com/coreos/tectonic-installer.git","ssh_url":"git@github.com:coreos/tectonic-installer.git","clone_url":"https://github.com/coreos/tectonic-installer.git","svn_url":"https://github.com/coreos/tectonic-installer","homepage":"","size":35658,"stargazers_count":480,"watchers_count":480,"language":"HCL","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":268,"mirror_url":null,"archived":false,"open_issues_count":177,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":268,"open_issues":177,"watchers":480,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604"},"html":{"href":"https://github.com/coreos/tectonic-installer/pull/604"},"issue":{"href":"https://api.github.com/repos/coreos/tectonic-installer/issues/604"},"comments":{"href":"https://api.github.com/repos/coreos/tectonic-installer/issues/604/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/tectonic-installer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/tectonic-installer/pulls/604/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/tectonic-installer/statuses/db1c71ece2b823cf063edb8d275bfe33dabe0497"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aknuds1"}}