github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/clc/r/load_balancer.html.markdown (about) 1 --- 2 layout: "clc" 3 page_title: "clc: clc_load_balancer" 4 sidebar_current: "docs-clc-resource-load-balancer" 5 description: |- 6 Manages a CLC load balacner. 7 --- 8 9 # clc_load_balancer 10 11 Manages a CLC load balancer. Manage connected backends with [clc_load_balancer_pool](load_balancer_pool.html) 12 13 See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#shared-load-balancer). 14 15 ## Example Usage 16 17 ```hcl 18 # Provision a load balancer 19 resource "clc_load_balancer" "api" { 20 data_center = "${clc_group.frontends.location_id}" 21 name = "api" 22 description = "api load balancer" 23 status = "enabled" 24 } 25 26 output "api_ip" { 27 value = "clc_load_balancer.api.ip_address" 28 } 29 ``` 30 31 32 ## Argument Reference 33 34 The following arguments are supported: 35 36 * `name` - (Required, string) The name of the load balancer. 37 * `data_center` - (Required, string) The datacenter location of both parent group and this group. 38 * `status` - (Required, string) Either "enabled" or "disabled" 39 * `description` - (Optional, string) Description for server group (visible in control portal only)