github.com/pbthorste/terraform@v0.8.6-0.20170127005045-deb56bd93da2/website/source/docs/providers/profitbricks/index.html.markdown (about)

     1  ---
     2  layout: "profitbricks"
     3  page_title: "Provider: ProfitBricks"
     4  sidebar_current: "docs-profitbricks-index"
     5  description: |-
     6    A provider for ProfitBricks.
     7  ---
     8  
     9  # ProfitBricks Provider
    10  
    11  The ProfitBricks provider gives the ability to deploy and configure resources using ProfitBricks Cloud 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  ```
    22  $ export PROFITBRICKS_USERNAME="profitbricks_username" 
    23  $ export PROFITBRICKS_PASSWORD="profitbricks_password"
    24  ```
    25  
    26  Or you can provide your credentials like this:
    27  
    28  
    29  The credentials provided in `.tf` file will override credentials in the environment variables.
    30  
    31  ## Example Usage
    32  
    33  
    34  ```
    35  provider "profitbricks" {
    36      username = "profitbricks_username"
    37      password = "profitbricks_password"
    38      retries = 100
    39  }
    40  
    41  
    42  resource "profitbricks_datacenter" "main" {
    43    ...
    44  }   
    45  ```
    46  
    47  
    48  ## Configuration Reference 
    49  
    50  The following arguments are supported:
    51  
    52  * `username` - (Required) If omitted, the `PROFITBRICKS_USERNAME` environment variable is used.
    53      
    54  * `password` - (Required) If omitted, the `PROFITBRICKS_PASSWORD` environment variable is used.
    55  
    56  * `retries` - (Optional) Number of retries while waiting for a resource to be provisioned. Default value is 50.
    57  
    58      
    59  #Support
    60  You are welcome to contact us with questions or comments at [ProfitBricks DevOps Central](https://devops.profitbricks.com/).