terraform/website/docs/cli/commands/workspace/select.mdx

29 lines
573 B
Plaintext
Raw Normal View History

---
2021-12-15 03:41:17 +01:00
page_title: 'Command: workspace select'
description: The terraform workspace select command is used to choose a workspace.
---
# Command: workspace select
The `terraform workspace select` command is used to choose a different
workspace to use for further operations.
## Usage
Usage: `terraform workspace select NAME [DIR]`
This command will select another workspace. The named workspace must already
exist.
## Example
```
$ terraform workspace list
default
* development
jsmith-test
$ terraform workspace select default
Switched to workspace "default".
```