github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/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  ---
     6  
     7  # DigitalOcean Provider
     8  
     9  The DigitalOcean (DO) provider is used to interact with the
    10  resources supported by DigitalOcean. The provider needs to be configured
    11  with the proper credentials before it can be used.
    12  
    13  Use the navigation to the left to read about the available resources.
    14  
    15  ## Example Usage
    16  
    17  ```
    18  # Configure the DigitalOcean Provider
    19  provider "digitalocean" {
    20      token = "${var.do_token}"
    21  }
    22  
    23  # Create a web server
    24  resource "digitalocean_droplet" "web" {
    25      ...
    26  }
    27  ```
    28  
    29  ## Argument Reference
    30  
    31  The following arguments are supported:
    32  
    33  * `token` - (Required) This is the DO API token.
    34