MCPcopy Create free account
hub / github.com/beelit94/python-terraform / delete_workspace

Method delete_workspace

python_terraform/terraform.py:444–450  ·  view source on GitHub ↗

Delete workspace :param workspace: the desired workspace. :return: status

(self, workspace, *args, **kwargs)

Source from the content-addressed store, hash-verified

442 return self.cmd("workspace", "new", workspace, *args, **kwargs)
443
444 def delete_workspace(self, workspace, *args, **kwargs) -> CommandOutput:
445 """Delete workspace
446
447 :param workspace: the desired workspace.
448 :return: status
449 """
450 return self.cmd("workspace", "delete", workspace, *args, **kwargs)
451
452 def show_workspace(self, **kwargs) -> CommandOutput:
453 """Show workspace, this command does not need the [DIR] part

Callers 3

wrapperFunction · 0.95
test_delete_workspaceMethod · 0.80

Calls 1

cmdMethod · 0.95

Tested by 3

wrapperFunction · 0.76
test_delete_workspaceMethod · 0.64