Skip to main content
Glama

terraform-cloud-mcp

apply_run

Approve and execute proposed infrastructure changes in Terraform Cloud by confirming a paused run. Provides updated status and apply confirmation details after reviewing the plan output.

Instructions

Apply a run that is paused waiting for confirmation after a plan

Confirms and executes the apply phase for a run that has completed planning and is waiting for approval. Use this when you've reviewed the plan output and want to apply the proposed changes to your infrastructure. API endpoint: POST /runs/{run_id}/actions/apply Args: run_id: The ID of the run to apply (format: "run-xxxxxxxx") comment: An optional comment explaining the reason for applying the run Returns: Run details with updated status information and confirmation of the apply action including timestamp information and any comment provided See: docs/tools/run_tools.md for usage examples

Input Schema

NameRequiredDescriptionDefault
commentNo
run_idYes

Input Schema (JSON Schema)

{ "properties": { "comment": { "default": "", "title": "Comment", "type": "string" }, "run_id": { "title": "Run Id", "type": "string" } }, "required": [ "run_id" ], "title": "apply_runArguments", "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