# workspace create

Create a workspace

#### Usage

```
 terrakube workspace create [flags]
```

#### Flags

```
  -b, --branch string              Branch of the new workspace
  -h, --help                       help for create
  -n, --name string                Name of the new workspace (required)
      --organization-id string     Id of the organization (required)
  -s, --source string              Source of the new workspace
  -t, --terraform-version string   Terraform Version use in the new workspace
```

#### Examples

Create a new workspace

```
terrakube workspace create --organization-id 312b4415-806b-47a9-9452-b71f0753136e -n myWorkspace -s https://github.com/AzBuilder/terraform-sample-repository.git -b master -t 0.15.0
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.terrakube.io/2.19.0/user-guide/terrakube-cli/commands/terrakube-workspace/workspace-create.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
