You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/examples/digitalocean
David Bouchare 7b14c84a40
Add Bangalore Data center and update to Ubuntu 16.04 (#14892)
9 years ago
..
README.md Add Bangalore Data center and update to Ubuntu 16.04 (#14892) 9 years ago
main.tf
outputs.tf
variable.tf Add Bangalore Data center and update to Ubuntu 16.04 (#14892) 9 years ago

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