Skip to main content
Glama

terraform-cloud-mcp

get_apply_logs

Retrieve raw log output from Terraform Cloud apply operations to analyze resource changes and identify errors. Simplifies debugging by fetching detailed logs for specific apply IDs.

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

NameRequiredDescriptionDefault
apply_idYes

Input Schema (JSON Schema)

{ "properties": { "apply_id": { "title": "Apply Id", "type": "string" } }, "required": [ "apply_id" ], "type": "object" }

Other Tools from terraform-cloud-mcp

Related Tools

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