Generate Infrastructure as Code
sdd_generate_iacReads DESIGN.md to detect infrastructure needs and generates Terraform or Bicep files, including variables and a Mermaid diagram of the topology.
Instructions
Reads DESIGN.md to detect infrastructure needs and generates Terraform or Bicep files. Returns generated file contents, variables, and a Mermaid diagram of the infrastructure topology.
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_generate_iac"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud | No | Target cloud provider | azure |
| modules | No | Specific infrastructure modules to generate (e.g., 'networking', 'compute', 'database'). If omitted, generates all detected from DESIGN.md | |
| 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 |