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

     1  ---
     2  layout: "commands-workspace"
     3  page_title: "Command: workspace select"
     4  sidebar_current: "docs-workspace-sub-select"
     5  description: |-
     6    The terraform workspace select command is used to choose a workspace.
     7  ---
     8  
     9  # Command: workspace select
    10  
    11  The `terraform workspace select` command is used to choose a different
    12  workspace to use for further operations.
    13  
    14  ## Usage
    15  
    16  Usage: `terraform workspace select [NAME]`
    17  
    18  This command will select another workspace. The named workspace must already
    19  exist.
    20  
    21  ## Example
    22  
    23  ```
    24  $ terraform workspace list
    25    default
    26  * development
    27    jsmith-test
    28  
    29  $ terraform workspace select default
    30  Switched to workspace "default".
    31  ```