{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/7","id":219901904,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTAxOTA0","html_url":"https://github.com/hashicorp/terraform-google-nomad/pull/7","diff_url":"https://github.com/hashicorp/terraform-google-nomad/pull/7.diff","patch_url":"https://github.com/hashicorp/terraform-google-nomad/pull/7.patch","issue_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues/7","number":7,"state":"open","locked":false,"title":"WIP: Multi-zone deployment","user":{"login":"ExalDraen","id":609711,"node_id":"MDQ6VXNlcjYwOTcxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/609711?v=4","gravatar_id":"","url":"https://api.github.com/users/ExalDraen","html_url":"https://github.com/ExalDraen","followers_url":"https://api.github.com/users/ExalDraen/followers","following_url":"https://api.github.com/users/ExalDraen/following{/other_user}","gists_url":"https://api.github.com/users/ExalDraen/gists{/gist_id}","starred_url":"https://api.github.com/users/ExalDraen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExalDraen/subscriptions","organizations_url":"https://api.github.com/users/ExalDraen/orgs","repos_url":"https://api.github.com/users/ExalDraen/repos","events_url":"https://api.github.com/users/ExalDraen/events{/privacy}","received_events_url":"https://api.github.com/users/ExalDraen/received_events","type":"User","site_admin":false},"body":"This MR switches the module to deploying nomad clients and nomad/consul servers multi-zone, using a regional instance group manager instead of a single-zone one. \r\n\r\nThis PR builds on #6 which should be merged first.\r\n\r\nI've marked it as WIP as I've not yet validated all the parts - but I'd like feedback already, hence the PR.\r\n\r\n## What I've done \r\n\r\nAs part of this:\r\n\r\n* Bumped the default version of the consul_module_version to `0.2.0` (as this is the version that supports being deployed regionally)\r\n* Bumped default Nomad/Consul versions in the packer template to the latest versions\r\n* removed the `gcp_zone` input/output as it's no longer used\r\n\r\n## Testing \r\n\r\nMinimal - ran `terraform validate` and tested the code in my own (more heavily modified) fork of the module.\r\n","created_at":"2018-10-03T03:01:20Z","updated_at":"2018-10-03T03:01:20Z","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/hashicorp/terraform-google-nomad/pulls/7/commits","review_comments_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/7/comments","review_comment_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues/7/comments","statuses_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/statuses/b00ace5cd93d14355c218f27548f66aa950dde3d","head":{"label":"ExalDraen:feature/multi-zone-deployment","ref":"feature/multi-zone-deployment","sha":"b00ace5cd93d14355c218f27548f66aa950dde3d","user":{"login":"ExalDraen","id":609711,"node_id":"MDQ6VXNlcjYwOTcxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/609711?v=4","gravatar_id":"","url":"https://api.github.com/users/ExalDraen","html_url":"https://github.com/ExalDraen","followers_url":"https://api.github.com/users/ExalDraen/followers","following_url":"https://api.github.com/users/ExalDraen/following{/other_user}","gists_url":"https://api.github.com/users/ExalDraen/gists{/gist_id}","starred_url":"https://api.github.com/users/ExalDraen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExalDraen/subscriptions","organizations_url":"https://api.github.com/users/ExalDraen/orgs","repos_url":"https://api.github.com/users/ExalDraen/repos","events_url":"https://api.github.com/users/ExalDraen/events{/privacy}","received_events_url":"https://api.github.com/users/ExalDraen/received_events","type":"User","site_admin":false},"repo":{"id":151236311,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMzYzMTE=","name":"terraform-google-nomad","full_name":"ExalDraen/terraform-google-nomad","private":false,"owner":{"login":"ExalDraen","id":609711,"node_id":"MDQ6VXNlcjYwOTcxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/609711?v=4","gravatar_id":"","url":"https://api.github.com/users/ExalDraen","html_url":"https://github.com/ExalDraen","followers_url":"https://api.github.com/users/ExalDraen/followers","following_url":"https://api.github.com/users/ExalDraen/following{/other_user}","gists_url":"https://api.github.com/users/ExalDraen/gists{/gist_id}","starred_url":"https://api.github.com/users/ExalDraen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExalDraen/subscriptions","organizations_url":"https://api.github.com/users/ExalDraen/orgs","repos_url":"https://api.github.com/users/ExalDraen/repos","events_url":"https://api.github.com/users/ExalDraen/events{/privacy}","received_events_url":"https://api.github.com/users/ExalDraen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ExalDraen/terraform-google-nomad","description":"A Terraform Module for how to run Nomad on Google Cloud using Terraform and Packer","fork":true,"url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad","forks_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/forks","keys_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/teams","hooks_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/hooks","issue_events_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/issues/events{/number}","events_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/events","assignees_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/assignees{/user}","branches_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/branches{/branch}","tags_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/tags","blobs_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/git/refs{/sha}","trees_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/statuses/{sha}","languages_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/languages","stargazers_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/stargazers","contributors_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/contributors","subscribers_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/subscribers","subscription_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/subscription","commits_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/commits{/sha}","git_commits_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/git/commits{/sha}","comments_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/comments{/number}","issue_comment_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/issues/comments{/number}","contents_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/contents/{+path}","compare_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/merges","archive_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/downloads","issues_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/issues{/number}","pulls_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/pulls{/number}","milestones_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/milestones{/number}","notifications_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/labels{/name}","releases_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/releases{/id}","deployments_url":"https://api.github.com/repos/ExalDraen/terraform-google-nomad/deployments","created_at":"2018-10-02T10:17:28Z","updated_at":"2018-10-02T10:17:30Z","pushed_at":"2018-10-03T03:01:04Z","git_url":"git://github.com/ExalDraen/terraform-google-nomad.git","ssh_url":"git@github.com:ExalDraen/terraform-google-nomad.git","clone_url":"https://github.com/ExalDraen/terraform-google-nomad.git","svn_url":"https://github.com/ExalDraen/terraform-google-nomad","homepage":null,"size":1383,"stargazers_count":0,"watchers_count":0,"language":"HCL","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"ed31d6dba2486315672cc5afe089ed4a65ea97a1","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":103201255,"node_id":"MDEwOlJlcG9zaXRvcnkxMDMyMDEyNTU=","name":"terraform-google-nomad","full_name":"hashicorp/terraform-google-nomad","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/terraform-google-nomad","description":"A Terraform Module for how to run Nomad on Google Cloud using Terraform and Packer","fork":false,"url":"https://api.github.com/repos/hashicorp/terraform-google-nomad","forks_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/forks","keys_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/teams","hooks_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/events","assignees_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/tags","blobs_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/languages","stargazers_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/subscription","commits_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/merges","archive_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/downloads","issues_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/terraform-google-nomad/deployments","created_at":"2017-09-12T00:16:50Z","updated_at":"2018-09-04T08:50:37Z","pushed_at":"2018-10-03T02:33:06Z","git_url":"git://github.com/hashicorp/terraform-google-nomad.git","ssh_url":"git@github.com:hashicorp/terraform-google-nomad.git","clone_url":"https://github.com/hashicorp/terraform-google-nomad.git","svn_url":"https://github.com/hashicorp/terraform-google-nomad","homepage":null,"size":1383,"stargazers_count":10,"watchers_count":10,"language":"HCL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/7"},"html":{"href":"https://github.com/hashicorp/terraform-google-nomad/pull/7"},"issue":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues/7"},"comments":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/terraform-google-nomad/statuses/b00ace5cd93d14355c218f27548f66aa950dde3d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":28,"deletions":56,"changed_files":12}}
{"actor":{"display_login":"ExalDraen"}}