2017-05-31 02:46:12 +02:00
|
|
|
---
|
2020-10-27 01:58:30 +01:00
|
|
|
layout: "docs"
|
2017-05-31 02:46:12 +02:00
|
|
|
page_title: "Command: workspace list"
|
2018-12-21 03:18:13 +01:00
|
|
|
sidebar_current: "docs-commands-workspace-sub-list"
|
2017-05-31 02:46:12 +02:00
|
|
|
description: |-
|
|
|
|
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
|
|
|
|
```
|