consul

brucellino/consul/digitalocean

Terraform Module HCL DIGITALOCEAN

Consul cluster on digitalocean

Install
module "consul" {
source = "brucellino/consul/digitalocean"
version = "1.0.7"
}
plain text: /constructs/tfmod-brucellino-consul-digitalocean/install.txt
⭐ Source on GitHub 📦 Registry page
README

![pre-commit](https://github.com/pre-commit/pre-commit) ![pre-commit.ci status](https://results.pre-commit.ci/latest/github/brucellino/terraform-digitalocean-consul/main) ![semantic-release: conventional](https://github.com/semantic-release/semantic-release) 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

Inputs (10)
NameTypeDescriptionDefault
ssh_inbound_source_cidrslist(any)List of CIDRs from which we will allow ssh connections on port 22[]
ssh_public_key_urlstringURL of of the public ssh key to add to the droplet"https://github.com/brucellino.keys"
droplet_sizestringSize of the droplet for Vault instances"s-1vcpu-1gb"
consul_versionstringVersion of Consul to deploy"1.15.1"
project_namestringName of the project in digitalocean"hashi"
vpc_namestringName of the VPC we are deploying into"hashi"
usernamestringName of the non-root user to add"hashiuser"
datacenterstringName of the Consul datacenter"HashiDO"
serversnumbernumber of server instances3
agentsnumbernumber of agent instances7
Outputs (3)
server_public_ips — List of public IPs for the Consul servers
agent_public_ips — List of public IPs for the Consul agents
load_balancer_ip — Public IP of the load balancer fronting the servers
Resources (9)
digitalocean_domaindigitalocean_dropletdigitalocean_firewalldigitalocean_loadbalancerdigitalocean_project_resourcesdigitalocean_recorddigitalocean_ssh_keydigitalocean_volumerandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.7
Cloud DIGITALOCEAN
★ Stars3
Forks0
Total downloads138
Inputs10
Outputs3
Resources9
Examples1
LicenseMIT
Namespacebrucellino
Updated