Manages a V1 load balancer member resource within OpenStack.
resource "openstack_lb_member_v1" "member_1" {
pool_id = "d9415786-5f1a-428b-b35f-2f1523e146d2"
address = "192.168.0.10"
port = 80
}
The following arguments are supported:
region - (Optional) The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the region argument of the provider 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.
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. Load Balancer Members can be imported using the id, e.g.
$ terraform import openstack_lb_member_v1.member_1 a7498676-4fe4-4243-a864-2eaaf18c73df
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/openstack/r/lb_member_v1.html