get_plan_logs
Retrieve raw log output from Terraform Cloud plan operations using the plan ID, enabling detailed analysis of the execution plan and infrastructure changes.
Instructions
Retrieve logs from a plan.
Gets the raw log output from a Terraform Cloud plan operation, providing detailed information about the execution plan.
API endpoint: Uses the log-read-url from GET /plans/{plan_id}
Args: plan_id: The ID of the plan to retrieve logs for (format: "plan-xxxxxxxx")
Returns: The raw logs from the plan operation. The redirect to the log file is automatically followed.
See: docs/tools/plan.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
plan_id | Yes |