Create Network
hetzner_create_networkCreates a Hetzner Cloud network with a specified IP range and optional subnets and routes, enabling isolated cloud networking setup.
Instructions
Create a new network with the specified IP range, and optionally subnets and routes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the network | |
| labels | No | Labels as key-value pairs | |
| routes | No | Array of routes to create | |
| subnets | No | Array of subnets to create | |
| ip_range | Yes | IP range of the whole network, e.g. "10.0.0.0/8" | |
| expose_routes_to_vswitch | No | Whether to expose routes to the vSwitch |