For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

update

Updates workspace configuration parameters, project assignments, or soft-deletes a workspace.

Usage

terrakube workspace update --organization <ORG> --id <WS_ID> [flags]

Flags

Flag
Short
Type
Required
Description

--organization

-o

String

Yes

Organization ID or name.

--id

String

Yes

Workspace ID.

--name

-n

String

No

Workspace name.

--description

-d

String

No

Description.

--project

String

No

Project ID or name to assign workspace to.

--deleted

Bool

No

Soft-delete flag (marks workspace as deleted).

--source

String

No

VCS repository URL.

--branch

String

No

Repository branch.

--folder

String

No

Repository folder path.

--iac-type

String

No

Tool type (tofu, terraform).

--iac-version

String

No

Tool version.

Examples

Assign workspace to a project

Soft-delete a workspace

Last updated

Was this helpful?