terraform
Execute Terraform commands to manage infrastructure as code, including init, plan, apply, and destroy operations for cloud resource provisioning.
Instructions
Execute Terraform commands (init, plan, apply, destroy, validate, output, etc.)
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": {
"action": "<action>",
"workingDir": "<workingDir>"
},
"name": "terraform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| workingDir | Yes | ||
| varFiles | No | ||
| vars | No | ||
| autoApprove | No | ||
| useLocalstack | No | ||
| backendConfig | No | ||
| state | No | ||
| target | No | ||
| lockTimeout | No | ||
| refresh | No | ||
| workspace | No |