You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terraform apply will create the desired server but on terraform destroy the boot device won't be destroyed:
Name | Status | Server | Availability zones| Size |
No name | Available | - | eu01-1 | 10 GB |
The web portal provides a Delete root volume when deleting server option not being present here. Besides the general expectation with regards to terraform destroy is cleaning up all resources previously being created.
BTW: It would be very helpful if the provider allowed for provisioning the STACKIT Server Agent like the web portal does. This might be possible by using cloud-init. But in case of a cloud init failure there is no way e.g. setting a password manually for accessing the host in question to debug the problem.
The text was updated successfully, but these errors were encountered:
After discussing with the STACKIT IaaS team, we will provide a field to enable the root volume to be deleted when destroying the server via Terraform.
This will only be supported for root volumes created from an image source type (like the one in your example). Since in the case the source type is volume, the server will use an existing volume and deleting it could cause inconsistencies in the Terraform configuration.
Consider a single server deployment:
terraform apply
will create the desired server but onterraform destroy
the boot device won't be destroyed:The web portal provides a
Delete root volume when deleting server
option not being present here. Besides the general expectation with regards toterraform destroy
is cleaning up all resources previously being created.BTW: It would be very helpful if the provider allowed for provisioning the STACKIT Server Agent like the web portal does. This might be possible by using cloud-init. But in case of a cloud init failure there is no way e.g. setting a password manually for accessing the host in question to debug the problem.
The text was updated successfully, but these errors were encountered: