droplet-docker

gendall/droplet-docker/digitalocean

Terraform Module HCL DIGITALOCEAN ⏱ stale 6y 2mo

Terraform module to create DigitalOcean droplets with Docker

Install

module "droplet-docker" {
source = "gendall/droplet-docker/digitalocean"
version = "0.2.0"
}
⭐ Source on GitHub 📦 Registry page

README

DigitalOcean Droplet SSH A Terraform module that will create a DigitalOcean Droplet with sensible defaults and with the specified SSH key authorized. Usage ``hcl provider "digitalocean" { version = "~> 1.6" } module "manager_production" { source = "gendall/droplet-ssh/digitalocean" name = "skdadl-graph-manager" ssh = "chatter" tags = ["production"] } `` Deployment This role will be automatically built and deployed to Terraform Registry when a Semver tag is pushed to the repo.

Inputs (7)

NameTypeDescriptionDefault
tagslistA list of strings to tag the droplet with. required
namestringThe name of droplet, to follow the convention {project}-{role}. required
sshstringThe name of the SSH key to authorize on the new droplet."gendall"
numbernumberThe number of droplets to provide with this configuration.1
imagestringThe server image to base this droplet on. Accepts a slug from the DigitalOcean A"debian-9-x64"
sizestringThe resource sizing of the droplet, specified using the DigitalOcean API slug."s-1vcpu-1gb"
regionstringThe DigitalOcean datacenter region to locate the droplet in."lon1"

Outputs (2)

ip
ip_private

Resources (1)

digitalocean_droplet

Topics & Tags

terraform

Details

FrameworkTerraform Module
LanguageHCL
Version0.2.0
Cloud DIGITALOCEAN
★ Stars0
Forks1
Total downloads1.3k
Inputs7
Outputs2
Resources1
Namespacegendall
Updated