droplet

clouddrove/droplet/digitalocean

Terraform Module HCL DIGITALOCEAN

Provides a DigitalOcean Droplet resource. This can be used to create, modify, and delete Droplets.

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

Terraform Digitalocean Droplet Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalis

Inputs (26)
NameTypeDescriptionDefault
namestringName (e.g. `app` or `cluster`).""
delimiterstringDelimiter to be used between `organization`, `environment`, `name` and `attribut"-"
droplet_enabledboolFlag to control the droplet creation.true
createdbystringCreatedBy, eg 'terraform'."terraform"
ipv6bool(Optional) Boolean controlling if IPv6 is enabled. Defaults to false.false
vpc_uuidstringThe ID of the VPC where the Droplet will be located.""
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`).""
backupsboolBoolean controlling if backups are made. Defaults to false.false
block_storage_filesystem_labelstringInitial filesystem label for the block storage volume."data"
droplet_countnumberThe number of droplets / other resources to create1
monitoringbool(Optional) Boolean controlling whether monitoring agent is installed. Defaults tfalse
private_networkingbool(Optional) Boolean controlling if private networks are enabled. Defaults to falsfalse
resize_diskbool(Optional) Boolean controlling whether to increase the disk size when resizing atrue
user_datastring(Optional) A string of the desired User Data for the Droplet.""
block_storage_filesystem_typestringInitial filesystem type (xfs or ext4) for the block storage volume."xfs"
block_storage_sizenumber(Required) The size of the block storage volume in GiB. If updated, can only be 0
custom_imageboolWhether the image is custom or not (an official image)false
image_idstringThe id of an image to use.""
image_namestringThe image name or slug to lookup."ubuntu-20-04-x64"
label_orderlist(any)Label order, e.g. `name`,`application`.[]
Outputs (3)
name — The name of the Droplet.
id — The ID of the Droplet.
urn — The uniform resource name of the Droplet.
Resources (5)
digitalocean_dropletdigitalocean_floating_ipdigitalocean_floating_ip_assignmentdigitalocean_volumedigitalocean_volume_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version0.15.0
Cloud DIGITALOCEAN
★ Stars11
Forks11
Total downloads1.7k
Inputs26
Outputs3
Resources5
LicenseMIT
Namespaceclouddrove
Updated