terraform-provider-hcloud icon indicating copy to clipboard operation
terraform-provider-hcloud copied to clipboard

Document subnet_id

Open process0 opened this issue 3 years ago • 1 comments

The ability to specify a subnet_id exists but there is no documentation about how to retrieve this ID. The hcloud tool does not list this identifier in the hcloud network describe either. After creating a subnet in terraform and then outputting it's ID, it was clear that this is created from network_id-subnet_range, i.e. 123456-10.0.0.3/24. Is this a format we can depend on not changing?

process0 avatar May 24 '21 14:05 process0

Related https://github.com/hetznercloud/terraform-provider-hcloud/issues/340 that subnet_id is essentially a hack to ensure the subnet exists within the network.

process0 avatar May 24 '21 14:05 process0

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

github-actions[bot] avatar Oct 12 '23 12:10 github-actions[bot]