Skip to main content
Glama

terraform-cloud-mcp

get_errored_state

Access and recover state data from failed Terraform Cloud apply operations. Retrieve details about errored states, including file access, to facilitate infrastructure recovery processes.

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" }

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