Validate Infrastructure as Code
sdd_validate_iacGenerates and routes validation payloads for Terraform or Azure infrastructure code. Use to validate IaC against specs across cloud providers.
Instructions
Generates a validation payload for Terraform MCP (plan/validate) or Azure MCP (template validation). The AI client routes this payload to the appropriate MCP server for execution.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sdd_validate_iac"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud | No | Target cloud provider | azure |
| iac_dir | No | Directory containing IaC files to validate. Defaults to feature directory | |
| provider | No | IaC provider to use | terraform |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |
| feature_number | No | Feature number (zero-padded, e.g. '001') | 001 |