mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
migrate docs to mdx
This commit is contained in:
28
website/docs/cli/commands/workspace/select.mdx
Normal file
28
website/docs/cli/commands/workspace/select.mdx
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
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".
|
||||
```
|
||||
Reference in New Issue
Block a user