Deletion Protection
By default, all workspaces have workspace deletion protection enabled when a workspace has active state. Active state is defined as a workspace that has resources under management in the state file. To delete a workspace, you can either run a destructive apply, which removes the resources from state and then disables the workspace protection, or manually disable workspace protection and delete the workspace. WARNING: If you manually disable the workspace protection and destroy the workspace, the state is not recoverable.
To disable deletion protection, go to the workspace settings and then administration:
![](https://files.readme.io/177336fe14da10144166fb9af31c6c559793bdcbb68ca796c64fd0cde5c4bcbd-Screenshot_2024-10-10_at_11.05.33_AM.png)
Updated 4 months ago