fix(iaas): server resource produces an unexpected new value for delete_on_termination (#755)

This commit is contained in:
Marcel Jacek 2025-04-02 09:50:17 +02:00 committed by GitHub
parent 3c3fcfd8ce
commit e2f32b597a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -300,6 +300,7 @@ func (r *serverResource) Schema(_ context.Context, _ resource.SchemaRequest, res
"delete_on_termination": schema.BoolAttribute{
Description: "Delete the volume during the termination of the server. Only allowed when `source_type` is `image`.",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.Bool{
boolplanmodifier.RequiresReplace(),
},