Skip to content

Latest commit

 

History

History

nomad-datacenter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Overview

Basic example for the nomad-datacenter module. Per default the module will be deployed in us-east-1 (virginia) into three AZ's.

Deploy the infrastructure

# terraform init &&\
# terraform plan -out dc.plan -var deploy_profile=<your-profile> -var ami_id=<id of the ami to use for consul/ nomad nodes> &&\
# terraform apply "dc.plan"

# on playground
terraform init &&\
terraform plan -out dc.plan -var deploy_profile=playground -var ami_id=ami-1234567890 &&\
terraform apply "dc.plan"

Destroy the infrastructure

# terraform destroy -var deploy_profile=<your-profile>

# on playground
terraform destroy -var deploy_profile=playground