Generate Infrastructure as Code
sdd_generate_iacReads a DESIGN.md spec to detect infrastructure needs and generate Terraform or Bicep files, 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.
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 |