Step 4: IaC plan
Purpose
Section titled “Purpose”Turn approved architecture and governance evidence into an implementation plan. Select compatible modules, pin their versions, map policy requirements to inputs, and define the deployment sequence.
05-IaC Planner
is shared by both IaC tracks. The project’s IaC selection determines its output contract.
Invocation
Section titled “Invocation”Select: 05-IaC Planner in Copilot ChatOutput: agent-output/{project}/04-implementation-plan.md agent-output/{project}/04-iac-contract.json agent-output/{project}/04-policy-property-map.json agent-output/{project}/04-environment-manifest.json agent-output/{project}/04-dependency-diagram.py and .png agent-output/{project}/04-runtime-diagram.py and .pngPrerequisites
Section titled “Prerequisites”04-governance-constraints.{md,json}from completed Step 3.5 discovery, with a valid policy array and the required review outcome.sku-manifest.jsonrevised through Step 2.
The planner halts and asks the user to refresh governance if those preconditions fail.
What gets produced
Section titled “What gets produced”- Module selection from Bicep AVM or the Terraform AVM registry.
- Resource dependency map.
- CAF naming validation.
- A deployment sequence based on resource dependencies.
- Dependency and runtime diagrams with editable source.
- The IaC contract, policy-property map, and environment manifest that CodeGen and deployment use to check consistency.
Review
Section titled “Review”One comprehensive review is the default. Under the owner-approved shared
structured-review candidate, the producer or its authorized Orchestrator invokes
challenger-review-subagent and records the actual attributed JSON output.
10-Challenger is optional for a manually selected review, not a required handoff
or automatic fallback. Resolve required findings. Deep review requires explicit
owner opt-in; complexity alone does not enable it. See
review finalization and recovery
for the pending runtime evidence and unchanged review-integrity requirements.
Hand-off
Section titled “Hand-off”After approving the plan and its contracts, select the appropriate CodeGen agent for Step 5.