Attach Server to Network
hetzner_attach_server_to_networkAttach a server to a Hetzner private network, optionally setting a specific private IP, alias IPs, or subnet range.
Instructions
Attach a server to a private network, optionally assigning a specific IP, alias IPs, or IP range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server ID | |
| network | Yes | ID of the network to attach the server to | |
| ip | No | Private IP to assign the server in the network (within the network IP range) | |
| alias_ips | No | Additional alias IPs to assign the server on the network | |
| ip_range | No | Subnet IP range (CIDR) to attach to, e.g. "10.0.1.0/24" |