Terraform apply
terraform_applyComputes a Terraform plan and applies it only after human approval, requiring a single-use approval ID to execute reviewed infrastructure changes.
Instructions
HIGH RISK -- mutates real infrastructure. Calling without approval_id does NOT apply anything: it computes the plan, records a pending approval, and returns an approval id for a human to review out-of-band. Once a human has approved, call again with that approval_id to execute the reviewed plan. Approvals are single-use, expiring, and bound to these exact parameters.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"working_dir": "<working_dir>"
},
"name": "terraform_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | No | ||
| working_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |