Files
opentf/website/source/docs/commands/workspace/select.html.md
Martin Atkins 5a57962a32 website: replace "env" command docs with "workspace" command docs
We are replacing this terminology. The old command continues to work for
compatibility, but is deprecated. The docs should reflect the
currently-recommended form.
2017-06-09 16:26:26 -07:00

642 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
commands-workspace Command: workspace select docs-workspace-sub-select The terraform workspace select command is used to choose a workspace.

Command: env 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".