Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

You can create unlimited workspaces inside each Terrakube Organization.

Workspace setup order

Choose your workflow and controls in Recommended Settings first. The full deployment-to-run sequence is in Production Setup.

  1. Create the workspace with its project, source and branch or CLI workflow.

  2. Apply Run Restrictions in Settings > General. These settings are off by default and require an organization-level workspace manager.

  3. Check the CLI, API or CI guide for your chosen workflow, then start a run and verify its approval path.

  4. Add webhooks, schedules or run triggers after the run works with the intended permissions.

Workspaces list

The Workspaces list in Compact view, grouped by project
The Workspaces list, grouped by project

The Workspaces page has two views, toggled in the top right and remembered per browser:

  • New — a condensed list with click-to-filter tags and project chips, an optional group by project mode (each project paginates independently), and a lock indicator per workspace.

  • Legacy — the original table view.

Use the search box and tag/project filters to narrow a long list; clicking a tag or project chip on any row applies it as a filter directly.

Tags in the list

Each tag is shown as a chip with its key and, for a key/value tag, its value (hover a chip to see key = value). Tags are sorted by key, then by value. The Cards view shows every tag on each card.

In the Compact view, a tag icon next to the workspace name opens all of the workspace's tags in a popover on hover, click or keyboard focus.

Filtering by tag

Click Tags in the filter bar to open the tag filter. It takes one or more rows, each with a tag key and an optional value; click Filter by another tag to add a row:

  • A row with a value matches workspaces where that key has exactly that value, for example env = development.

  • A row without a value matches every workspace that has the key, whatever its value.

  • Several rows are combined with AND, so env = development and team = platform matches only the workspaces that have both.

Click Apply filter to apply the rows, or Clear in the tag filter popover to remove just the tag filters.

In this section

Set up: Creating Workspaces, Overview, Variables, Team Access

Run: Starting a Run, Run Restrictions, Webhooks, Workspace scheduler, Run Triggers, Job Output, Notifications

Workflows: CLI-driven, API-driven, Ephemeral Workspaces

State and caching: Terraform State, Share Workspace State, Provider Cache, Module Cache, Plan Artifacts

Credentials and extensions: Dynamic Provider Credentials, Actions

Last updated

Was this helpful?