mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
.. | ||
main.tf | ||
outputs.tf | ||
README.md | ||
variable.tf |
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