PlacementGroup
Source:
src/Hetzner/PlacementGroup.ts
A Hetzner Cloud Placement Group. Spread groups keep member Servers on
distinct physical hosts so a single hardware failure cannot take them
all down. Type is spread (the only type Hetzner currently offers)
and is immutable — changing it replaces the group. Name and labels
update in place.
Servers are attached from the Server resource (not here).
Creating a Placement Group
Section titled “Creating a Placement Group”Basic spread group
const group = yield* Hetzner.PlacementGroup("web");Named group with labels
const group = yield* Hetzner.PlacementGroup("web", { name: "web-spread", type: "spread", labels: { role: "web" },});