consul
brucellino/consul/digitalocean
Consul cluster on digitalocean
   Terraform Module for Consul on Digital Ocean This module creates a Consul cluster with agents and servers on Digital Ocean, using a load balancer as frontend. It requires a Vault instance with Digital Ocean tokens in a KV store, and creates an ssh key by adding a GitHub user's public key. Examples The examples/ directory contains the example usage of this module. These examples show how to use the module in your project, and are also use for testing in CI/CD. Requirements | Name | Version | |------|---------| | terraform | >1.2.0 | | d
| Name | Type | Description | Default |
|---|---|---|---|
| ssh_inbound_source_cidrs | list(any) | List of CIDRs from which we will allow ssh connections on port 22 | [] |
| ssh_public_key_url | string | URL of of the public ssh key to add to the droplet | "https://github.com/brucellino.keys" |
| droplet_size | string | Size of the droplet for Vault instances | "s-1vcpu-1gb" |
| consul_version | string | Version of Consul to deploy | "1.15.1" |
| project_name | string | Name of the project in digitalocean | "hashi" |
| vpc_name | string | Name of the VPC we are deploying into | "hashi" |
| username | string | Name of the non-root user to add | "hashiuser" |
| datacenter | string | Name of the Consul datacenter | "HashiDO" |
| servers | number | number of server instances | 3 |
| agents | number | number of agent instances | 7 |
server_public_ips — List of public IPs for the Consul serversagent_public_ips — List of public IPs for the Consul agentsload_balancer_ip — Public IP of the load balancer fronting the servers