diff --git a/internal/provider/resource_integer.go b/internal/provider/resource_integer.go
index <HASH>..<HASH> 100644
--- a/internal/provider/resource_integer.go
+++ b/internal/provider/resource_integer.go
@@ -21,7 +21,7 @@ func resourceInteger() *schema.Resource {
 			"old and new resources exist concurrently.",
 		CreateContext: CreateInteger,
 		ReadContext:   schema.NoopContext,
-		Delete:        schema.RemoveFromState,
+		DeleteContext: DeleteInteger,
 		Importer: &schema.ResourceImporter{
 			State: ImportInteger,
 		},
@@ -93,6 +93,11 @@ func CreateInteger(_ context.Context, d *schema.ResourceData, meta interface{}) 
 	return nil
 }
 
+func DeleteInteger(_ context.Context, d *schema.ResourceData, _ interface{}) diag.Diagnostics {
+	d.SetId("")
+	return nil
+}
+
 func ImportInteger(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {
 	parts := strings.Split(d.Id(), ",")
 	if len(parts) != 3 && len(parts) != 4 {
Replace usage of Delete field with DeleteContext in resource_integer