Skip to main content
Glama

terraform-cloud-mcp

get_errored_state

Retrieve and access state data from a failed Terraform apply for recovery. Use the tool to fetch errored state information via the apply ID, ensuring continued infrastructure management.

Instructions

Retrieve the errored state from a failed apply.

Gets information about a state file that failed to upload during an apply, providing access to the state data for recovery purposes.

API endpoint: GET /applies/{apply_id}/errored-state

Args: apply_id: The ID of the apply with a failed state upload (format: "apply-xxxxxxxx")

Returns: Information about the errored state including access details. The redirect to the state 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