Adding workspace deletion.

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

View file

@ -405,7 +405,16 @@ class Terraform(object):
:return: status :return: status
""" """
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):
""" """