fix(server): Handle boot bolume correctly (#749)

* fix(server): Handle boot bolume correctly

- Display id and delete_on_termination in datasource
- Handle id and delete_on_termination in resource

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

* fixup

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
Alexander Dahmen 2025-03-28 13:31:36 +01:00 committed by GitHub
parent f5f99d1709
commit 68859a3fad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 70 additions and 26 deletions

View file

@ -410,3 +410,7 @@ Optional:
- `delete_on_termination` (Boolean) Delete the volume during the termination of the server. Only allowed when `source_type` is `image`.
- `performance_class` (String) The performance class of the server.
- `size` (Number) The size of the boot volume in GB. Must be provided when `source_type` is `image`.
Read-Only:
- `id` (String) The ID of the boot volume

View file

@ -62,5 +62,3 @@ Required:
Optional:
- `volume_ids` (List of String)