tf_preflight
Check cloud providers used in a Terraform workspace and verify authentication status before plan or apply to catch credential issues early.
Instructions
Check which cloud providers are used in a Terraform workspace and verify authentication status for each. Call this before plan or apply to catch credential issues early.
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_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workdir | Yes | Absolute or relative path to the directory containing .tf files |