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

     1  ---
     2  layout: "clc"
     3  page_title: "Provider: CenturyLinkCloud"
     4  sidebar_current: "docs-clc-index"
     5  description: |-
     6    The CenturyLinkCloud provider is used to interact with the many resources
     7    supported by CLC. The provider needs to be configured with account
     8    credentials before it can be used.
     9  ---
    10  
    11  # CLC Provider
    12  
    13  The clc provider is used to interact with the many resources supported
    14  by CenturyLinkCloud. The provider needs to be configured with account
    15  credentials before it can be used.
    16  
    17  Use the navigation to the left to read about the available resources.
    18  
    19  For additional documentation, see the [CLC Developer Center](https://www.ctl.io/developers/)
    20  
    21  ## Example Usage
    22  
    23  ```hcl
    24  # Configure the CLC Provider
    25  provider "clc" {
    26    username = "${var.clc_username}"
    27    password = "${var.clc_password}"
    28    account  = "${var.clc_account}"  # optional
    29  }
    30  
    31  # Create a server
    32  resource "clc_server" "node" {
    33    # ...
    34  }
    35  ```
    36  
    37  
    38  ## Account Bootstrap
    39  
    40  Trial accounts are available by signing up on the control portal [https://control.ctl.io](https://control.ctl.io).
    41  
    42  For new accounts, you should initially run these steps manually:
    43  
    44  - [Create a network.](https://control.ctl.io/Network/network)
    45  - [Provision a server.](https://control.ctl.io/create)
    46  
    47  
    48  ## Argument Reference
    49  
    50  The following arguments are supported:
    51  
    52  * `clc_username` - (Required) This is the CLC account username. It must be provided, but
    53    it can also be sourced from the `CLC_USERNAME` environment variable.
    54  
    55  * `clc_password` - (Required) This is the CLC account password. It must be provided, but
    56    it can also be sourced from the `CLC_PASSWORD` environment variable.
    57  
    58  * `clc_account` - (Optional) Override CLC account alias. Also taken from the `CLC_ACCOUNT`
    59    environment variable if provided.