Files
opentf/website/docs/commands/workspace/list.html.md
Nick Fagerlund fa9ad0c5e5 website: Adopt islanded subcommands into unified "docs" (CLI) layout
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.
2020-10-26 18:19:46 -07:00

563 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
docs Command: workspace list docs-commands-workspace-sub-list The terraform workspace list command is used to list all existing workspaces.

Command: workspace list

The terraform workspace list command is used to list all existing workspaces.

Usage

Usage: terraform workspace list

The command will list all existing workspaces. The current workspace is indicated using an asterisk (*) marker.

Example

$ terraform workspace list
  default
* development
  jsmith-test