2016-09-26 01:22:13 +02:00
# Digital Ocean Droplet launch and setting the Domain records at Digital Ocean.
2016-05-09 09:04:51 +02:00
2016-09-26 01:22:13 +02:00
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.
2016-05-09 09:04:51 +02:00
2016-09-26 01:22:13 +02:00
To run, configure your Digital Ocean provider as described in https://www.terraform.io/docs/providers/do/index.html
2016-05-09 09:04:51 +02:00
## Prerequisites
You need to export you DigitalOcean API Token as an environment variable
2016-09-26 01:22:13 +02:00
export DIGITALOCEAN_TOKEN="Put Your Token Here"
2016-05-09 09:04:51 +02:00
## Run this example using:
terraform plan
terraform apply