Runs
What are runs?​
A run is a unit of execution, either a plan or apply, to create, update, or destroy resources.
Tharsis UI's workspace page shows whether there is a run currently active in the workspace. From the Runs tab, the runs page shows a list of the current and past runs for the workspace. Clicking on the run ID will show more detail about the selected run.
A run can be of type speculative plan, non-speculative plan, or apply. Any plan can be set to either destroy or to create or update the module resources. When created via the Tharsis UI, a run can execute either a stored module, a configuration version, or a VCS workspace link.
Check the FAQ to see if there's already an answer.
Create or launch a run​
Runs can be created directly via the UI or the Tharsis-CLI.
Creating a run via the UI​
- From the workspace page, click the left-hand
Runstab to get to the runs page.

- Then, click the
CREATE RUNbutton.

- Select the
Module,Configuration Version, orVCS Workspace Linkbutton and then follow the UI's prompts to specify the details of the run to be created.

- Finally, select the
CREATE RUNbutton to create or launch the run. The run details page will open, which allows you to see the job logs and status updates as the run executes. You can also see the effective run variables by selecting theVARIABLEStab.

Run options​
The create run form shows two options for module and configuration version runs:
- Auto Apply: the run applies automatically once the plan completes successfully, without waiting for manual approval. This option is not available for plan-only runs.
- Refresh Only: the run only updates Terraform state to reflect real infrastructure. No resources are created, changed, or destroyed.
Unused run variables​
On the run's VARIABLES tab, a Terraform variable that is not used in the run shows a Not used marker. The list hides unused variables by default. Use the Show All Variables or Hide Unused Variables option to change what is shown. This marker is for information only; there is nothing to set.
Check results​
When a run's plan or apply finishes, the run details page shows the Check Results for that stage. A workspace's current check results also appear on the Checks tab of the workspace page. Each check has one of four statuses:
- Pass: the check assertion condition evaluated to true.
- Fail: the check assertion condition evaluated to false.
- Error: Terraform could not evaluate the check condition.
- Unknown: the check result could not be determined.
Outdated job executor​
A run stage or job that ran with an older job executor shows an advisory that the job used an older version which does not have all the latest capabilities. The advisory appears on the run's plan and apply stages and on the job details page.
Plan diff​
When a plan finishes, the run details page opens the Changes tab, which shows the planned changes as a diff. Each resource in the diff is labeled with its action, such as create, update, or delete. Use the search box to find a change by resource or output name.
Run annotations​
A run can carry annotations, each with a key, a value, and an optional link. Annotations are set when the run is created and cannot be changed afterward. A run allows at most 10 annotations, and their total size is limited. The run details sidebar shows them under Annotations as chips, and they also appear in run lists; a chip whose link is a valid http or https URL is clickable.
Job details​
A run's plan and apply are each carried out by a job. On a run's plan or apply stage, a card shows how many jobs the stage has; when there is at least one, the count is a link that opens a Jobs dialog, and selecting a job opens its details page.
The job details page has a Job Details sidebar and the job's logs. The sidebar shows:
- Status: one of
Pending,Queued,In Progress,Completed,Failed,Canceling, orCanceled. - Type:
Plan,Apply, orPolicy. - Tags: the job's tags, shown only when the job has tags.
- Workspace: the job's workspace.
- Run: the job's run, shown only when the job has one.
- Runner:
- the runner name with a
Sharedmarker, for a shared runner - its name as a link, for a group runner
- the runner path, when the runner record is not available
Not assigned, when neither a runner nor a runner path is recorded
- the runner name with a
- Timeline: the job's timeline.
Job resource usage​
The job details page shows a Resource usage card with metrics collected from the job's runtime container. Each metric appears only if it was collected, and a group is hidden if none of its metrics were collected. The metrics are grouped into:
- Compute:
CPU timeandPeak memory. - Network:
ReceivedandSent. - Disk:
ReadandWrite.
When a metric has a positive limit, the card shows the used value with a bar, the percentage of the limit used, and the limit itself. Otherwise, it shows only the used value. Only Peak memory and the Network and Disk metrics can have a limit, so CPU time always shows only the used value. When the job reported no resource usage, the card does not appear.
Cancel a run in progress​
- From the run details page of an active run, click the CANCEL button in the upper right-hand corner. That will initiate the process to gracefully cancel the run.

-
If the graceful cancellation does not succeed within a preset time limit (normally 30 minutes), you can force the run to be canceled.
-
If you need to forcibly cancel a run without waiting for the graceful cancellation attempt to finish, one option is to delete the workspace.
Deleting a workspace is an irreversible operation and will remove everything that you have set up in the workspace, including variables, run history, state versions, managed identities, members, and other settings.
Destroy a workspace's current resources with one click​
- From the workspace page, select the
DESTROY WORKSPACEbutton.
Please note that this button will launch a destroy run that will destroy the deployed resources, but it does not delete the workspace itself.

Frequently asked questions (FAQ)​
Who can create or launch runs?​
- Owner and deployer can launch a run.
- Viewer cannot launch a run.
- System administrator can launch a run in any workspace.
What is the difference between a speculative plan and a non-speculative plan?​
A speculative plan is used to preview the changes that will be made to the resources if the plan is applied without actually making the changes. A non-speculative plan is used to create, update, or destroy resources.
Where can I find the run variables?​
From the run details page, select the VARIABLES tab to see the run variables.
Why can't I see the values for the run variables?​
You may not have the necessary permissions to view the run variables. Please contact the workspace owner or a system administrator for assistance.
Why is my run stuck in the QUEUED state when using a group runner agent?​
The runner agent may not be able to connect to the Tharsis server. Please make sure the runner has a service account assigned to it. This can be done via the UI or the Tharsis-CLI.