droplet-docker
gendall/droplet-docker/digitalocean
Terraform module to create DigitalOcean droplets with Docker
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| tags | list | A list of strings to tag the droplet with. | required |
| name | string | The name of droplet, to follow the convention {project}-{role}. | required |
| ssh | string | The name of the SSH key to authorize on the new droplet. | "gendall" |
| number | number | The number of droplets to provide with this configuration. | 1 |
| image | string | The server image to base this droplet on. Accepts a slug from the DigitalOcean A | "debian-9-x64" |
| size | string | The resource sizing of the droplet, specified using the DigitalOcean API slug. | "s-1vcpu-1gb" |
| region | string | The DigitalOcean datacenter region to locate the droplet in. | "lon1" |
Outputs (2)
ipip_privateResources (1)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,