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
Name | Required | Description | Default |
---|---|---|---|
run_id | Yes |