A Terraform template for creating a tiny Consul + Nomad cluster on Hetzner (us-east/ash)
This currently creates one server and two client agents for both Nomad and Consul.
- Get a Hetzner API token
- Fill out the template-tfvars
hetzner_token
: your Hetzner API tokenserver_size
: the Hetzner instance size of your serverclient_size
: the Hetzner instance size of your clientallowlist
: a list of CIDR ranges to allow through the firewall to access the APIs and web UIs for Consul and Nomad
tf apply -var-file template-tfvars