github.com/hugorut/terraform@v1.1.3/website/docs/cli/commands/workspace/list.mdx (about)

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