pa-07 — Execution
Prerequisites
- Go ≥ 1.25 (stdlib only, offline).
One-shot
cd pa-07-infrastructure-as-code && bash scripts/verify.sh
Per-language workflow (Go)
cd pa-07-infrastructure-as-code/src/go
go test -race -count=1 ./... # plan, topo apply, idempotency, drift, cycles
go run ./cmd/iacsim
Package map
| File | What |
|---|---|
iac/engine.go | resources + DAG; Plan (diff), Apply (topo converge), State, Drift, cycle detection |
cmd/iacsim | plan → apply → idempotent re-apply → update diff → drift demo |
See GUIDE.md for the deep dive and the universal reconcile- loop connection.