github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/openstack/r/lb_loadbalancer_v2.html.markdown (about) 1 --- 2 layout: "openstack" 3 page_title: "OpenStack: openstack_lb_loadbalancer_v2" 4 sidebar_current: "docs-openstack-resource-lb-loadbalancer-v2" 5 description: |- 6 Manages a V2 loadbalancer resource within OpenStack. 7 --- 8 9 # openstack\_lb\_loadbalancer\_v2 10 11 Manages a V2 loadbalancer resource within OpenStack. 12 13 ## Example Usage 14 15 ``` 16 resource "openstack_lb_loadbalancer_v2" "lb_1" { 17 vip_subnet_id = "d9415786-5f1a-428b-b35f-2f1523e146d2" 18 } 19 ``` 20 21 ## Argument Reference 22 23 The following arguments are supported: 24 25 * `region` - (Required) The region in which to obtain the V2 Networking client. 26 A Networking client is needed to create an LB member. If omitted, the 27 `OS_REGION_NAME` environment variable is used. Changing this creates a new 28 LB member. 29 30 * `vip_subnet_id` - (Required) The network on which to allocate the 31 Loadbalancer's address. A tenant can only create Loadbalancers on networks 32 authorized by policy (e.g. networks that belong to them or networks that 33 are shared). Changing this creates a new loadbalancer. 34 35 * `name` - (Optional) Human-readable name for the Loadbalancer. Does not have 36 to be unique. 37 38 * `description` - (Optional) Human-readable description for the Loadbalancer. 39 40 * `tenant_id` - (Optional) Required for admins. The UUID of the tenant who owns 41 the Loadbalancer. Only administrative users can specify a tenant UUID 42 other than their own. Changing this creates a new loadbalancer. 43 44 * `vip_address` - (Optional) The ip address of the load balancer. 45 Changing this creates a new loadbalancer. 46 47 * `admin_state_up` - (Optional) The administrative state of the Loadbalancer. 48 A valid value is true (UP) or false (DOWN). 49 50 * `flavor` - (Optional) The UUID of a flavor. Changing this creates a new 51 loadbalancer. 52 53 * `provider` - (Optional) The name of the provider. Changing this creates a new 54 loadbalancer. 55 56 ## Attributes Reference 57 58 The following attributes are exported: 59 60 * `region` - See Argument Reference above. 61 * `vip_subnet_id` - See Argument Reference above. 62 * `name` - See Argument Reference above. 63 * `description` - See Argument Reference above. 64 * `tenant_id` - See Argument Reference above. 65 * `vip_address` - See Argument Reference above. 66 * `admin_state_up` - See Argument Reference above. 67 * `flavor` - See Argument Reference above. 68 * `provider` - See Argument Reference above.