get_plan_json_output
Retrieve a machine-readable JSON execution plan from Terraform Cloud, detailing resource changes and planned actions for infrastructure management.
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
Name | Required | Description | Default |
---|---|---|---|
plan_id | Yes |