Adding workspace deletion.

This commit is contained in:
DJDavisson 2019-05-08 10:55:53 -07:00
parent 01e3dbb05a
commit 70920d828c

View file

@ -407,6 +407,15 @@ class Terraform(object):
return self.cmd('workspace new ' + workspace) return self.cmd('workspace new ' + workspace)
def delete_workspace(self, workspace):
"""
delete workspace
:param workspace: the desired workspace.
:return: status
"""
return self.cmd('workspace delete ' + workspace)
def show_workspace(self): def show_workspace(self):
""" """
show workspace show workspace