mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-14 19:00:37 -05:00
Several `terraform` subcommands include sub-sub-commands; with our old sidebar system, viewing those took you to an isolated "island" nav sidebar, away from the main docs. The new navigation will adopt all these pages, so we don't need to exile the reader to odd places.
32 lines
643 B
Markdown
32 lines
643 B
Markdown
---
|
|
layout: "docs"
|
|
page_title: "Command: workspace select"
|
|
sidebar_current: "docs-commands-workspace-sub-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]`
|
|
|
|
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".
|
|
```
|