Terraform workspaces
tf_workspacesList all Terraform workspaces for a project directory and show which workspace is currently active.
Instructions
List Terraform workspaces with current workspace marked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Terraform project directory | |
| binary | No | terraform or tofu (default $TF_BINARY, else terraform) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | Yes | ||
| retained | No | ||
| workspaces | Yes |