Files
opentf/website/source/docs/providers/openstack/r/lb_member_v1.html.markdown
Joe Topjian 8d5a2d05a4 provider/openstack: Load Balancing Member Resource
This commit adds the openstack_lb_member_v1 resource. This resource models a
load balancing member which was previously coupled to the openstack_lb_pool_v1
resource.

By creating an actual member resource, load balancing members can now be
dynamically managed through terraform.
2015-12-17 07:29:58 +00:00

1.8 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
openstack OpenStack: openstack_lb_member_v1 docs-openstack-resource-lb-member-v1 Manages a V1 load balancer member resource within OpenStack.

openstack_lb_member_v1

Manages a V1 load balancer member resource within OpenStack.

Example Usage

resource "openstack_lb_member_v1" "member_1" {
  pool_id = "d9415786-5f1a-428b-b35f-2f1523e146d2"
  address = "192.168.0.10"
  port = 80
}

Argument Reference

The following arguments are supported:

  • region - (Required) The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the OS_REGION_NAME environment variable is used. Changing this creates a new LB member.

  • pool_id - (Required) The ID of the LB pool. Changing this creates a new member.

  • address - (Required) The IP address of the member. Changing this creates a new member.

  • port - (Required) An integer representing the port on which the member is hosted. Changing this creates a new member.

  • admin_state_up - (Optional) The administrative state of the member. Acceptable values are 'true' and 'false'. Changing this value updates the state of the existing member.

  • tenant_id - (Optional) The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.

Attributes Reference

The following attributes are exported:

  • region - See Argument Reference above.
  • pool_id - See Argument Reference above.
  • address - See Argument Reference above.
  • port - See Argument Reference above.
  • admin_state_up - See Argument Reference above.
  • weight - The load balancing weight of the member. This is currently unable to be set through Terraform.