contabo / terraform-provider-contabo

Terraform Provider for Contabo Cloud-Services
MIT License
59 stars 7 forks source link

fix: destroying an existing instance trigger a bare system reinstall #37

Open loic-roux-404 opened 3 months ago

loic-roux-404 commented 3 months ago

When i try to destroy the resource along with a existing instance id i got an 422 unprocessable error.

It is related to a non cancelable instance because it's not managed by terraform but from the subscription started on the dashboard.

I made the choice to move to a default ubuntu in a default reinstall request reseting every instance settings to a consistant default.

Side effect of : https://github.com/contabo/terraform-provider-contabo/pull/19