Merge pull request #2914 from hashicorp/f-terraform-update
Update scripts and AMI to reflect Nomad 0.6
This commit is contained in:
commit
81db9a46a9
|
@ -49,7 +49,7 @@ Update terraform.tfvars with your SSH key name:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
ami = "ami-76787e60"
|
ami = "ami-577d212c"
|
||||||
instance_type = "t2.medium"
|
instance_type = "t2.medium"
|
||||||
key_name = "KEY_NAME"
|
key_name = "KEY_NAME"
|
||||||
server_count = "3"
|
server_count = "3"
|
||||||
|
|
2
terraform/aws/env/us-east/terraform.tfvars
vendored
2
terraform/aws/env/us-east/terraform.tfvars
vendored
|
@ -1,5 +1,5 @@
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
ami = "ami-76787e60"
|
ami = "ami-577d212c"
|
||||||
instance_type = "t2.medium"
|
instance_type = "t2.medium"
|
||||||
key_name = "KEY_NAME"
|
key_name = "KEY_NAME"
|
||||||
server_count = "1"
|
server_count = "1"
|
||||||
|
|
|
@ -123,7 +123,7 @@ spark-submit \
|
||||||
--conf spark.eventLog.dir=hdfs://hdfs.service.consul/spark-events \
|
--conf spark.eventLog.dir=hdfs://hdfs.service.consul/spark-events \
|
||||||
--conf spark.nomad.sparkDistribution=https://s3.amazonaws.com/nomad-spark/spark-2.1.0-bin-nomad.tgz \
|
--conf spark.nomad.sparkDistribution=https://s3.amazonaws.com/nomad-spark/spark-2.1.0-bin-nomad.tgz \
|
||||||
https://s3.amazonaws.com/nomad-spark/spark-examples_2.11-2.1.0-SNAPSHOT.jar \
|
https://s3.amazonaws.com/nomad-spark/spark-examples_2.11-2.1.0-SNAPSHOT.jar \
|
||||||
/home/ubuntu/.bashrc hdfs://hdfs.service.consul/foo
|
/etc/sudoers hdfs://hdfs.service.consul/foo
|
||||||
```
|
```
|
||||||
|
|
||||||
### spark-shell
|
### spark-shell
|
||||||
|
|
|
@ -6,7 +6,7 @@ cd /ops
|
||||||
|
|
||||||
CONFIGDIR=/ops/shared/config
|
CONFIGDIR=/ops/shared/config
|
||||||
|
|
||||||
CONSULVERSION=0.8.4
|
CONSULVERSION=0.9.0
|
||||||
CONSULDOWNLOAD=https://releases.hashicorp.com/consul/${CONSULVERSION}/consul_${CONSULVERSION}_linux_amd64.zip
|
CONSULDOWNLOAD=https://releases.hashicorp.com/consul/${CONSULVERSION}/consul_${CONSULVERSION}_linux_amd64.zip
|
||||||
CONSULCONFIGDIR=/etc/consul.d
|
CONSULCONFIGDIR=/etc/consul.d
|
||||||
CONSULDIR=/opt/consul
|
CONSULDIR=/opt/consul
|
||||||
|
@ -16,7 +16,7 @@ VAULTDOWNLOAD=https://releases.hashicorp.com/vault/${VAULTVERSION}/vault_${VAULT
|
||||||
VAULTCONFIGDIR=/etc/vault.d
|
VAULTCONFIGDIR=/etc/vault.d
|
||||||
VAULTDIR=/opt/vault
|
VAULTDIR=/opt/vault
|
||||||
|
|
||||||
NOMADVERSION=0.5.6
|
NOMADVERSION=0.6.0
|
||||||
NOMADDOWNLOAD=https://releases.hashicorp.com/nomad/${NOMADVERSION}/nomad_${NOMADVERSION}_linux_amd64.zip
|
NOMADDOWNLOAD=https://releases.hashicorp.com/nomad/${NOMADVERSION}/nomad_${NOMADVERSION}_linux_amd64.zip
|
||||||
NOMADCONFIGDIR=/etc/nomad.d
|
NOMADCONFIGDIR=/etc/nomad.d
|
||||||
NOMADDIR=/opt/nomad
|
NOMADDIR=/opt/nomad
|
||||||
|
|
Loading…
Reference in a new issue