terraform-provider-greenhost/examples/droplet
Andrew Starr-Bochicchio 4ceece8b51 Update size slug in example. 2018-03-12 14:50:16 -04:00
..
README.md Add Bangalore Data center and update to Ubuntu 16.04 (#14892) 2017-05-28 23:46:09 +03:00
main.tf Update size slug in example. 2018-03-12 14:50:16 -04:00
outputs.tf Fmt all the config files 2016-09-22 11:49:09 +00:00
variable.tf Add Bangalore Data center and update to Ubuntu 16.04 (#14892) 2017-05-28 23:46:09 +03:00

README.md

Digital Ocean Droplet launch and setting the Domain records at Digital Ocean.

The example launches an Ubuntu 16.04, runs apt-get update and installs nginx. Also demonstrates how to create DNS records under Domains at DigitalOcean.

To run, configure your Digital Ocean provider as described in https://www.terraform.io/docs/providers/do/index.html

Prerequisites

You need to export you DigitalOcean API Token as an environment variable

export DIGITALOCEAN_TOKEN="Put Your Token Here" 

Run this example using:

terraform plan
terraform apply