Skip to content

frostmoln_lb_member (Resource)

Manages a backend member of a Frostmoln load balancer pool.

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. Write-only acknowledgement flag; preserved 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.
  • 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.