Principle:A5c ai Babysitter Manifest Rendering
| Knowledge Sources | |
|---|---|
| Domains | Kubernetes, Infrastructure_as_Code |
| Last Updated | 2026-10-23 00:00 GMT |
Overview
A method for translating a deployment plan into Terraform infrastructure files and Kubernetes manifests for review and application.
Description
Manifest Rendering is the principle of converting a pure-data DeploymentPlan into concrete infrastructure-as-code files. The Terraform renderer produces target-specific main.tf (minikube, existing, eks, aks, gke), terraform.tfvars.json, and README.auto.md. The Kubernetes renderer produces a manifests.yaml file with Helm values and additional manifests.
Both renderers are pure functions — they take a plan and produce files without side effects, enabling dry-run review before application.
Usage
Use this principle when generating infrastructure-as-code from a declarative plan, supporting multiple cloud providers from a single source.
Theoretical Basis
The rendering is a dispatch on target type:
terraform = renderTerraform(plan) -> { directoryName, files, summary }
kubernetes = renderKubernetes(plan) -> { fileName, manifests, content, summary }
Key property: The output is deterministic — the same plan always produces the same files. This enables diff-based review and git-based change tracking.