Terraform DigitalOcean module for Instellar
This module automatically forms LXD cluster on DigitalOcean. This terraform module will do the following:
These functionality come together to enable the user to fully manage LXD cluster using IaC (infrastructure as code)
No modules.
Name
Description
Type
Default
Required
bastion_size
Size of the bastion instance defaults to Basic 512MB instance https://slugs.do-api.dev/
string
"s-1vcpu-512mb-10gb"
no
cluster_topology
How many nodes do you want in your cluster?
list(object({ id = number name = string size = optional(string, "s-1vcpu-1gb") }))
[]
no
environment
Environment for project in Digital Ocean possible values are Development, Staging, Production
string
"Production"
no
identifier
Name for your cluster
any
n/a
yes
image
Image type of choice default is ubuntu 22.04 x86
string
"ubuntu-22-04-x64"
no
node_size
Size of instances you want to use defaults to Basic 1GB instances https://slugs.do-api.dev/
string
"s-2vcpu-4gb-amd"
no
protect_leader
Protect database leader node
bool
true
no
region
Region for your cluster
string
"sgp1"
no
ssh_keys
List of ssh keys fingerprint
list(string)
[]
no
storage_size
Storage size to use with cluster
any
n/a
yes
vpc_id
vpc id to pass in from the network module
string
n/a
yes
vpc_ip_range
The IP range to use for VPC
string
"10.0.1.0/24"
no