Skip to content

Commit

Permalink
Removing more federation and updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenomitch committed Jun 28, 2022
1 parent b1f0d69 commit 0ab317b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ This sets up:
* Nomad Client load balancer for an ingress proxy admin UI
* Related Subnets & Security groups

Each node is set up as either a Nomad Server or Nomad Client with basic dependencies (i.e. curl, apt-transport-https, gnupg-agent, jq), Docker, and the Nomad binary. Nomad and Docker are both configured to launch as systemd services.

See (the startup script template)[(./templates/startup.sh.tpl)] and (nomad config setup template)[(./templates/nomad.sh.tpl)] for details.

### Dependencies

- Terraform 12+
Expand Down
2 changes: 0 additions & 2 deletions aws_cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ locals {
base_config_values = {
datacenter = var.region
region = var.region
authoritative_region = var.authoritative_region
replication_token = var.replication_token
retry_provider = var.retry_join.provider
retry_tag_key = var.retry_join.tag_key
retry_tag_value = "${var.retry_join.tag_value_prefix}-${var.cluster_name}"
Expand Down
8 changes: 1 addition & 7 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ variable "region" {
default = "us-east-1"
}

/* Not used unless multi-region Nomad is set up */

variable "replication_token" {
type = string
default = ""
}

variable "public_availability_zones" {
type = list(string)
default = ["us-east-1a", "us-east-1b"]
Expand Down Expand Up @@ -114,6 +107,7 @@ variable "desired_servers" {
Three is recommended for most production setups.
One is viable but does not allow for a high availibility raft cluster.
*/

variable "max_servers" {
type = number
default = 3
Expand Down

0 comments on commit 0ab317b

Please sign in to comment.