Skip to main content
Glama

terraform-cloud-mcp

get_plan_json_output

Generate JSON execution plans for Terraform to view resource changes and planned actions in a machine-readable format using the specified plan ID.

Instructions

Retrieve the JSON execution plan.

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

API endpoint: GET /plans/{plan_id}/json-output

Args: plan_id: The ID of the plan to retrieve JSON output for (format: "plan-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
plan_idYes

Input Schema (JSON Schema)

{ "properties": { "plan_id": { "title": "Plan Id", "type": "string" } }, "required": [ "plan_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