/terraform-gcp-demostack

Demostack

Primary LanguageHCLApache License 2.0Apache-2.0

terraform-gcp-demostack

This Project configures Nomad, Vault and Consul on a variable amount of servers and workers. 
it already set up some nomad jobs, vault configurations and Consul queries. 
This is meant as a reference (and a demo environment) and really shouldnt be used for production. 

Solution Diagram

Solution Diagram

Variables for TF deployment

You need to provide a number of variables in your Terraform TFE environment. Please check the terraform.tfvars.example file for the list

Dependencies

TLS

Consul

Vault

Nomad

troubleshooting

To begin debugging, check the cloud-init output on each of the hosts:

$ sudo tail -f /var/log/syslog