Update clc provider

This commit is contained in:
Seth Vargo 2017-04-10 12:12:22 -04:00
parent 5345547f79
commit e525dc953f
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
6 changed files with 12 additions and 34 deletions

View File

@ -20,7 +20,7 @@ For additional documentation, see the [CLC Developer Center](https://www.ctl.io/
## Example Usage
```
```hcl
# Configure the CLC Provider
provider "clc" {
username = "${var.clc_username}"

View File

@ -6,7 +6,7 @@ description: |-
Manages a CLC server group.
---
# clc\_group
# clc_group
Manages a CLC server group. Either provisions or resolves to an existing group.
@ -14,7 +14,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#groups).
## Example Usage
```
```hcl
# Provision/Resolve a server group
resource "clc_group" "frontends" {
location_id = "WA1"
@ -51,4 +51,3 @@ up in advance. Each `custom_fields` block supports the following:
* `id` - (Required, string) The ID of the custom field to set.
* `value` - (Required, string) The value for the specified field.

View File

@ -6,7 +6,7 @@ description: |-
Manages a CLC load balacner.
---
# clc\_load\_balancer
# clc_load_balancer
Manages a CLC load balancer. Manage connected backends with [clc_load_balancer_pool](load_balancer_pool.html)
@ -14,8 +14,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#shared-loa
## Example Usage
```
```hcl
# Provision a load balancer
resource "clc_load_balancer" "api" {
data_center = "${clc_group.frontends.location_id}"
@ -38,8 +37,3 @@ The following arguments are supported:
* `data_center` - (Required, string) The datacenter location of both parent group and this group.
* `status` - (Required, string) Either "enabled" or "disabled"
* `description` - (Optional, string) Description for server group (visible in control portal only)

View File

@ -6,7 +6,7 @@ description: |-
Manages a CLC load balancer pool.
---
# clc\_load\_balancer\_pool
# clc_load_balancer_pool
Manages a CLC load balancer pool. Manage related frontend with [clc_load_balancer](load_balancer.html)
@ -15,7 +15,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#shared-loa
## Example Usage
```
```hcl
# Provision a load balancer pool
resource "clc_load_balancer_pool" "pool" {
data_center = "${clc_group.frontends.location_id}"
@ -68,9 +68,3 @@ following:
* `ipAddress` (Required, string) The destination internal ip of pool node.
* `privatePort` (Required, int) The destination port on the pool node.
* `status` (Optional, string) Either "enabled" or "disabled".

View File

@ -6,7 +6,7 @@ description: |-
Manages a CLC public ip.
---
# clc\_public\_ip
# clc_public_ip
Manages a CLC public ip (for an existing server).
@ -14,7 +14,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#public-ip)
## Example Usage
```
```hcl
# Provision a public ip
resource "clc_public_ip" "backdoor" {
server_id = "${clc_server.node.0.id}"
@ -79,7 +79,3 @@ repeated to restrict ingress traffic on specified CIDR blocks. Each
`source_restrictions` block supports the following:
* `cidr` (Required, string) The IP or range of IPs in CIDR notation.

View File

@ -6,7 +6,7 @@ description: |-
Manages the lifecycle of a CLC server.
---
# clc\_server
# clc_server
Manages a CLC server.
@ -19,7 +19,7 @@ Resources and Documentation:
## Example Usage
```
```hcl
# Provision a server
resource "clc_server" "node" {
name_template = "trusty"
@ -162,7 +162,7 @@ are configured via this block.
Example:
```
```hcl
# Configure the CLC Provider
provider "clc_server" "ubuntu" {
# ...
@ -172,8 +172,3 @@ provider "clc_server" "ubuntu" {
}
}
```