Add Subnet to Network
hetzner_add_subnetAdd a subnet to an existing Hetzner network by specifying network ID, subnet type, and network zone, with optional IP range and vSwitch ID.
Instructions
Add a subnet to an existing network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID | |
| type | Yes | Type of subnet | |
| ip_range | No | IP range of the subnet | |
| vswitch_id | No | ID of the vSwitch (required for vswitch type) | |
| network_zone | Yes | Name of the network zone, e.g. "eu-central" |