flamarion / consul-cluster-aws

Terraform code to deploy Consul Cluster in AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

consul-cluster-aws

Terraform code to deploy Consul Cluster in AWS

This code will create a 3 node Consul Cluster using the retry-join based on instance metadata to form the cluster.

The code rely on remote-exec to pull the Consul binaries, which is not the best scenario but for a lab is ok. You may use ansible to do this task.

As this is a lab it also rely on local-exec to create the Consul CA and Consul Certificates, however, this is also not the best approach.

TODO

[ ] Create the Load Balancer.

About

Terraform code to deploy Consul Cluster in AWS


Languages

Language:HCL 74.5%Language:Shell 25.5%