Updates workspace configuration parameters, project assignments, or soft-deletes a workspace.
terrakube workspace update --organization <ORG> --id <WS_ID> [flags]
--organization
-o
String
Yes
Organization ID or name.
--id
Workspace ID.
--name
-n
No
Workspace name.
--description
-d
Description.
--project
Project ID or name to assign workspace to.
--deleted
Bool
Soft-delete flag (marks workspace as deleted).
--source
VCS repository URL.
--branch
Repository branch.
--folder
Repository folder path.
--iac-type
Tool type (tofu, terraform).
tofu
terraform
--iac-version
Tool version.
Last updated 13 days ago
Was this helpful?
terrakube workspace update -o "$ORG_ID" --id "$WS_ID" --name "networking-prod" --project "$PRJ_ID"
terrakube workspace update -o "$ORG_ID" --id "$WS_ID" --name "temp-ws" --deleted