github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/do/index.html.markdown (about) 1 --- 2 layout: "digitalocean" 3 page_title: "Provider: DigitalOcean" 4 sidebar_current: "docs-do-index" 5 description: |- 6 The DigitalOcean (DO) provider is used to interact with the resources supported by DigitalOcean. The provider needs to be configured with the proper credentials before it can be used. 7 --- 8 9 # DigitalOcean Provider 10 11 The DigitalOcean (DO) provider is used to interact with the 12 resources supported by DigitalOcean. The provider needs to be configured 13 with the proper credentials before it can be used. 14 15 Use the navigation to the left to read about the available resources. 16 17 ## Example Usage 18 19 ``` 20 # Configure the DigitalOcean Provider 21 provider "digitalocean" { 22 token = "${var.do_token}" 23 } 24 25 # Create a web server 26 resource "digitalocean_droplet" "web" { 27 ... 28 } 29 ``` 30 31 ## Argument Reference 32 33 The following arguments are supported: 34 35 * `token` - (Required) This is the DO API token. This can also be specified 36 with the `DIGITALOCEAN_TOKEN` shell environment variable. 37