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:
parent
f5f99d1709
commit
68859a3fad
9 changed files with 70 additions and 26 deletions
|
|
@ -43,7 +43,4 @@ Server datasource schema. Must have a `region` specified in the provider configu
|
|||
Read-Only:
|
||||
|
||||
- `delete_on_termination` (Boolean) Delete the volume during the termination of the server.
|
||||
- `id` (String) The ID of the source, either image ID or volume ID
|
||||
- `performance_class` (String) The performance class of the server.
|
||||
- `size` (Number) The size of the boot volume in GB.
|
||||
- `type` (String) The type of the source. Supported values are: `volume`, `image`.
|
||||
- `id` (String) The ID of the boot volume
|
||||
|
|
|
|||
|
|
@ -52,5 +52,3 @@ Read-Only:
|
|||
- `name` (String)
|
||||
- `retention_period` (Number)
|
||||
- `volume_ids` (List of String)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -58,5 +58,3 @@ Read-Only:
|
|||
- `name` (String)
|
||||
- `retention_period` (Number)
|
||||
- `volume_ids` (List of String)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -62,5 +62,3 @@ Required:
|
|||
Optional:
|
||||
|
||||
- `volume_ids` (List of String)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue