github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/openstack/r/lb_member_v1.html.markdown (about)

     1  ---
     2  layout: "openstack"
     3  page_title: "OpenStack: openstack_lb_member_v1"
     4  sidebar_current: "docs-openstack-resource-lb-member-v1"
     5  description: |-
     6    Manages a V1 load balancer member resource within OpenStack.
     7  ---
     8  
     9  # openstack\_lb\_member_v1
    10  
    11  Manages a V1 load balancer member resource within OpenStack.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "openstack_lb_member_v1" "member_1" {
    17    pool_id = "d9415786-5f1a-428b-b35f-2f1523e146d2"
    18    address = "192.168.0.10"
    19    port    = 80
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `region` - (Required) The region in which to obtain the V2 Networking client.
    28      A Networking client is needed to create an LB member. If omitted, the
    29      `OS_REGION_NAME` environment variable is used. Changing this creates a new
    30      LB member.
    31  
    32  * `pool_id` - (Required)  The ID of the LB pool. Changing this creates a new
    33      member.
    34  
    35  * `address` - (Required) The IP address of the member. Changing this creates a
    36      new member.
    37  
    38  * `port` - (Required) An integer representing the port on which the member is
    39      hosted. Changing this creates a new member.
    40  
    41  * `admin_state_up` - (Optional) The administrative state of the member.
    42      Acceptable values are 'true' and 'false'. Changing this value updates the
    43      state of the existing member.
    44  
    45  * `tenant_id` - (Optional) The owner of the member. Required if admin wants to
    46      create a member for another tenant. Changing this creates a new member.
    47  
    48  ## Attributes Reference
    49  
    50  The following attributes are exported:
    51  
    52  * `region` - See Argument Reference above.
    53  * `pool_id` - See Argument Reference above.
    54  * `address` - See Argument Reference above.
    55  * `port` - See Argument Reference above.
    56  * `admin_state_up` - See Argument Reference above.
    57  * `weight` - The load balancing weight of the member. This is currently unable
    58      to be set through Terraform.
    59  
    60  ## Import
    61  
    62  Load Balancer Members can be imported using the `id`, e.g.
    63  
    64  ```
    65  $ terraform import openstack_lb_member_v1.member_1 a7498676-4fe4-4243-a864-2eaaf18c73df
    66  ```