github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/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` - (Deprecated) Use `loadbalancer_provider` instead. 54 55 * `loadbalancer_provider` - (Optional) The name of the provider. Changing this 56 creates a new loadbalancer. 57 58 * `security_group_ids` - (Optional) A list of security group IDs to apply to the 59 loadbalancer. The security groups must be specified by ID and not name (as 60 opposed to how they are configured with the Compute Instance). 61 62 ## Attributes Reference 63 64 The following attributes are exported: 65 66 * `region` - See Argument Reference above. 67 * `vip_subnet_id` - See Argument Reference above. 68 * `name` - See Argument Reference above. 69 * `description` - See Argument Reference above. 70 * `tenant_id` - See Argument Reference above. 71 * `vip_address` - See Argument Reference above. 72 * `admin_state_up` - See Argument Reference above. 73 * `flavor` - See Argument Reference above. 74 * `loadbalancer_provider` - See Argument Reference above. 75 * `security_group_ids` - See Argument Reference above. 76 * `vip_port_id` - The Port ID of the Load Balancer IP.