tf_workspace
Manage Terraform workspaces by listing, showing active, selecting, or creating new workspaces. Specify the working directory and operation to perform.
Instructions
Manage Terraform workspaces. Supports:
list: List all workspaces and show which is active
show: Show the current workspace name
select: Switch to a workspace
new: Create a new workspace
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Workspace name for select or new operations | |
| workdir | Yes | Absolute or relative path to the directory containing .tf files | |
| operation | Yes | Workspace operation to perform |