github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/profitbricks/r/profitbricks_loadbalancer.html.markdown (about) 1 --- 2 layout: "profitbricks" 3 page_title: "ProfitBricks: profitbricks_loadbalancer" 4 sidebar_current: "docs-profitbricks-resource-loadbalancer" 5 description: |- 6 Creates and manages Load Balancers 7 --- 8 9 # profitbricks\_loadbalancer 10 11 Manages a Load Balancers on ProfitBricks 12 13 ## Example Usage 14 15 ```hcl 16 resource "profitbricks_loadbalancer" "example" { 17 datacenter_id = "${profitbricks_datacenter.example.id}" 18 nic_id = "${profitbricks_nic.example.id}" 19 name = "load balancer name" 20 dhcp = true 21 } 22 ``` 23 24 ##Argument reference 25 26 * `datacenter_id` - (Required)[string] 27 * `nic_id` - (Required)[string] 28 * `dhcp` - (Optional) [boolean] Indicates if the load balancer will reserve an IP using DHCP. 29 * `ip` - (Optional) [string] IPv4 address of the load balancer. 30