get_apply_logs
Retrieve detailed logs from Terraform Cloud apply operations to monitor resource changes and identify errors. Uses the apply ID to fetch raw log output for troubleshooting and analysis.
Instructions
Retrieve logs from an apply.
Gets the raw log output from a Terraform Cloud apply operation, providing detailed information about resource changes and any errors.
API endpoint: Uses the log-read-url from GET /applies/{apply_id}
Args: apply_id: The ID of the apply to retrieve logs for (format: "apply-xxxxxxxx")
Returns: The raw logs from the apply operation. The redirect to the log file is automatically followed.
See: docs/tools/apply.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
apply_id | Yes |