Skip to main content
Glama

terraform-cloud-mcp

get_run_plan_json_output

Retrieve a machine-readable JSON representation of a run's execution plan from Terraform Cloud, detailing resource changes, metadata, and planned actions for improved automation and analysis.

Instructions

Retrieve the JSON execution plan from a run.

Gets the JSON representation of a run's current plan execution details, providing a machine-readable format of the planned resource changes.

API endpoint: GET /runs/{run_id}/plan/json-output

Args: run_id: The ID of the run to retrieve plan JSON output for (format: "run-xxxxxxxx")

Returns: The complete JSON formatted plan with resource changes, metadata, and planned actions. The redirect is automatically followed.

See: docs/tools/plan.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