mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Use safe or force workspace delete for cloud backend
This commit is contained in:
@@ -165,7 +165,7 @@ func (c *WorkspaceDeleteCommand) Run(args []string) int {
|
||||
// be delegated from the Backend to the State itself.
|
||||
stateLocker.Unlock()
|
||||
|
||||
err = b.DeleteWorkspace(workspace)
|
||||
err = b.DeleteWorkspace(workspace, force)
|
||||
if err != nil {
|
||||
c.Ui.Error(err.Error())
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user