Generate Infrastructure as Code
sdd_generate_iacReads DESIGN.md to generate Terraform or Bicep infrastructure code, including variables and a topology diagram.
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 |
|---|---|---|---|
| feature_number | No | Feature number (zero-padded, e.g. '001') | 001 |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |
| provider | No | IaC provider to use | terraform |
| 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 |