frostmoln_lb_member (Resource)
Manages a backend member of a Frostmoln load balancer pool.
Authoritative scope — who owns what on this resource, declared in internal/scopedecl and machine-checked against the schema.
Enacted and reconciled — every configurable attribute not listed below: the platform applies it, and a refresh reads the truth back.
Create-immutable — address, load_balancer_id, pool_id, protocol_port, subnet_id: the member is identified by its pool and address:port; changing one is a different member.
Create-immutable — cross_vpc: an acknowledgement flag carried in state, never returned by the API — changing it between two known values forces a new member (a first apply that supplies it after import reconciles instead).
Example Usage
terraform
# A backend member of a load balancer pool.
resource "frostmoln_lb_member" "backend_1" {
load_balancer_id = frostmoln_load_balancer.web.id
pool_id = frostmoln_lb_pool.backend.id
address = "10.0.1.20"
protocol_port = 8080
weight = 1
}Schema
Required
address(String) The IP address of the backend member. Changing this forces a new resource.load_balancer_id(String) The ID of the load balancer the pool belongs to. Changing this forces a new resource.pool_id(String) The ID of the pool this member belongs to. Changing this forces a new resource.protocol_port(Number) The port the backend member listens on. Changing this forces a new resource.
Optional
cross_vpc(Boolean) Whether the member is in a different VPC than the load balancer. Acknowledgement flag: recorded in state but never returned by the API. Changing this between two known values forces a new resource. On import this flag cannot be recovered from the API, so it is left null and reconciled (not destroyed) on the first apply that supplies it.name(String) The name of the member.subnet_id(String) The subnet ID the member resides in. Changing this forces a new resource.timeouts(Block, Optional) (see below for nested schema)weight(Number) The weight of the member for weighted load balancing.
Read-Only
created_at(String) The creation timestamp.id(String) The unique identifier of the member.updated_at(String) The last update timestamp.
Nested Schema for timeouts
Optional:
create(String) How long the provider waits for the create operation to converge before giving up (e.g. "45m", "2h").delete(String) How long the provider waits for the delete to complete before giving up (e.g. "30m").update(String) How long the provider waits for an update (resize, in-place change) to converge before giving up (e.g. "30m").