tf_drift
Detect infrastructure drift by running a refresh-only plan to identify resources changed outside Terraform. Reports differences between state and reality without making changes.
Instructions
Detect infrastructure drift — resources that were changed outside of Terraform (e.g. manually in the cloud console). Runs a refresh-only plan and reports differences between state and reality. Read-only, makes no changes.
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": {
"workdir": "<workdir>"
},
"name": "tf_drift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workdir | Yes | Absolute or relative path to the directory containing .tf files | |
| workspace | No | Terraform workspace to use (default: current workspace) |