github.com/hugorut/terraform@v1.1.3/website/docs/cli/commands/workspace/select.mdx (about) 1 --- 2 page_title: 'Command: workspace select' 3 description: The terraform workspace select command is used to choose a workspace. 4 --- 5 6 # Command: workspace select 7 8 The `terraform workspace select` command is used to choose a different 9 workspace to use for further operations. 10 11 ## Usage 12 13 Usage: `terraform workspace select NAME [DIR]` 14 15 This command will select another workspace. The named workspace must already 16 exist. 17 18 ## Example 19 20 ``` 21 $ terraform workspace list 22 default 23 * development 24 jsmith-test 25 26 $ terraform workspace select default 27 Switched to workspace "default". 28 ```