Allow deleting root volume when deleting server (#651)
Introduce delete_on_termination field. Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
parent
11875602b8
commit
b6f3c70f15
5 changed files with 100 additions and 14 deletions
|
|
@ -168,6 +168,10 @@ func (r *serverDataSource) Schema(_ context.Context, _ datasource.SchemaRequest,
|
|||
Description: "The ID of the source, either image ID or volume ID",
|
||||
Computed: true,
|
||||
},
|
||||
"delete_on_termination": schema.BoolAttribute{
|
||||
Description: "Delete the volume during the termination of the server.",
|
||||
Computed: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
"image_id": schema.StringAttribute{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue