terraform/examples/digitalocean
Valentin Pichard c6beaa7ce8 Fmt all the config files
Signed-off-by: Valentin Pichard <valentin.pichard@corp.ovh.com>
2016-09-22 11:49:09 +00:00
..
README.md Digital Ocean Example. 2016-05-09 08:04:51 +01:00
main.tf Fmt all the config files 2016-09-22 11:49:09 +00:00
outputs.tf Fmt all the config files 2016-09-22 11:49:09 +00:00
variable.tf Fmt all the config files 2016-09-22 11:49:09 +00:00

README.md

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

The example launches a Ubuntu 14.04, runs apt-get update and installs nginx. Also demostrates 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/digitalocean/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