Skip to main content
Glama

terraform-cloud-mcp

force_execute_run

Cancel prior runs to prioritize immediate execution of a specific Terraform run, unlocking the workspace for urgent tasks. Use this tool to manage run queues effectively.

Instructions

Forcefully execute a run by canceling all prior runs

Prioritizes a specific run by canceling other queued runs to unlock the workspace, equivalent to clicking "Run this plan now" in the UI. Use this when a run is stuck in the pending queue but needs immediate execution due to urgency or priority over other queued runs.

API endpoint: POST /runs/{run_id}/actions/force-execute

Args: run_id: The ID of the run to execute (format: "run-xxxxxxxx")

Returns: Status update confirming the run has been promoted to active status, with information about which runs were canceled to allow execution

See: docs/tools/run.md for reference documentation

Input Schema

NameRequiredDescriptionDefault
run_idYes

Input Schema (JSON Schema)

{ "properties": { "run_id": { "title": "Run Id", "type": "string" } }, "required": [ "run_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/severity1/terraform-cloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server