terraform/examples/digitalocean
Edward Betts be265479a9 correct spelling mistakes (#13979) 2017-04-27 02:10:04 +12:00
..
README.md Fixing broken link and fixing the readme for the digitalocean example 2016-09-25 17:22:13 -06:00
main.tf updates digitalocean example to correct private_key 2016-10-08 23:03:49 -07:00
outputs.tf
variable.tf correct spelling mistakes (#13979) 2017-04-27 02:10:04 +12:00

README.md

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

The example launches an Ubuntu 14.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