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
|
|
@ -193,6 +193,7 @@ func TestToCreatePayload(t *testing.T) {
|
|||
"source_type": types.StringValue("type"),
|
||||
"source_id": types.StringValue("id"),
|
||||
"delete_on_termination": types.BoolUnknown(),
|
||||
"id": types.StringValue("id"),
|
||||
}),
|
||||
ImageId: types.StringValue("image"),
|
||||
KeypairName: types.StringValue("keypair"),
|
||||
|
|
@ -234,6 +235,7 @@ func TestToCreatePayload(t *testing.T) {
|
|||
"source_type": types.StringValue("image"),
|
||||
"source_id": types.StringValue("id"),
|
||||
"delete_on_termination": types.BoolValue(true),
|
||||
"id": types.StringValue("id"),
|
||||
}),
|
||||
ImageId: types.StringValue("image"),
|
||||
KeypairName: types.StringValue("keypair"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue