Skip to content

Commit e2f32b5

Browse files
authored
fix(iaas): server resource produces an unexpected new value for delete_on_termination (#755)
1 parent 3c3fcfd commit e2f32b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stackit/internal/services/iaas/server/resource.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ func (r *serverResource) Schema(_ context.Context, _ resource.SchemaRequest, res
300300
"delete_on_termination": schema.BoolAttribute{
301301
Description: "Delete the volume during the termination of the server. Only allowed when `source_type` is `image`.",
302302
Optional: true,
303+
Computed: true,
303304
PlanModifiers: []planmodifier.Bool{
304305
boolplanmodifier.RequiresReplace(),
305306
},

0 commit comments

Comments
 (0)