github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/oneandone/index.html.markdown (about)

     1  ---
     2  layout: "oneandone"
     3  page_title: "Provider: 1&1"
     4  sidebar_current: "docs-oneandone-index"
     5  description: |-
     6    A provider for 1&1.
     7  ---
     8  
     9  # 1&1 Provider
    10  
    11  The 1&1 provider gives the ability to deploy and configure resources using the 1&1 Cloud Server API.
    12  
    13  Use the navigation to the left to read about the available resources.
    14  
    15  
    16  ## Usage
    17  
    18  The provider needs to be configured with proper credentials before it can be used.
    19  
    20  
    21  ```text
    22  $ export ONEANDONE_TOKEN="oneandone_token"
    23  ```
    24  
    25  Or you can provide your credentials like this:
    26  
    27  
    28  The credentials provided in `.tf` file will override credentials in the environment variables.
    29  
    30  ## Example Usage
    31  
    32  
    33  ```hcl
    34  provider "oneandone"{
    35    token = "oneandone_token"
    36    endpoint = "oneandone_endpoint"
    37    retries = 100
    38  }
    39  
    40  resource "oneandone_server" "server" {
    41    # ...
    42  }
    43  ```
    44  
    45  
    46  ## Configuration Reference
    47  
    48  The following arguments are supported:
    49  
    50  * `token` - (Required) If omitted, the `ONEANDONE_TOKEN` environment variable is used.
    51  
    52  * `endpoint` - (Optional)
    53  
    54  * `retries` - (Optional) Number of retries while waiting for a resource to be provisioned. Default value is 50.