# Workspaces

When working with Terraform at Enterprise level, you need to organize your infrastructure in different collections. Terrakube manages infrastructure collections with **workspaces**. A workspace contains everything Terraform needs to manage a given collection of infrastructure, so you can easily organize all your resources based in your requirements.

For example, you can create a workspace for dev environment and a different workspace for production. Or you can separate your workspaces based in your resource types, so you can create a workspace for all your SQL Databases and anothers workspace for all your VMS.

<figure><img src="/files/Iyssgtqi9hVZcKEjLytj" alt=""><figcaption></figcaption></figure>

You can create unlimited workspaces inside each Terrakube Organization. In this section:

{% content-ref url="/pages/ceJ8rxvq2k3t7qW4KYbK" %}
[Creating Workspaces](/user-guide/workspaces/creating-workspaces.md)
{% endcontent-ref %}

{% content-ref url="/pages/wu8nyuJVgLuouuKTNEUI" %}
[Terraform State](/user-guide/workspaces/terraform-state.md)
{% endcontent-ref %}

{% content-ref url="/pages/X5okGK8CnJc7IxFbAHxe" %}
[Variables](/user-guide/workspaces/variables.md)
{% endcontent-ref %}

{% content-ref url="/pages/qekInFeiQ5f5BDnwymWD" %}
[Workspace scheduler](/user-guide/workspaces/workspace-scheduler.md)
{% endcontent-ref %}


---

# 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/user-guide/workspaces.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.
