github.com/pdecat/terraform@v0.11.9-beta1/website/docs/commands/workspace/list.html.md (about)

     1  ---
     2  layout: "commands-workspace"
     3  page_title: "Command: workspace list"
     4  sidebar_current: "docs-workspace-sub-list"
     5  description: |-
     6    The terraform workspace list command is used to list all existing workspaces.
     7  ---
     8  
     9  # Command: workspace list
    10  
    11  The `terraform workspace list` command is used to list all existing workspaces.
    12  
    13  ## Usage
    14  
    15  Usage: `terraform workspace list`
    16  
    17  The command will list all existing workspaces. The current workspace is
    18  indicated using an asterisk (`*`) marker.
    19  
    20  ## Example
    21  
    22  ```
    23  $ terraform workspace list
    24    default
    25  * development
    26    jsmith-test
    27  ```