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