command: "terraform workspace show" to print current workspace name

This command serves as an alternative to the human-oriented list of workspaces for scripting use-cases where it's useful to know the _current_ workspace name.
This commit is contained in:
Mike Helmick
2017-07-05 17:35:46 -04:00
committed by Martin Atkins
parent 909989acfa
commit 9d7fce2f69
4 changed files with 113 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ Usage: terraform workspace
Subcommands:
show Show the current workspace name.
list List workspaces.
select Select a workspace.
new Create a new workspace.