Example
node infra.ts), then:
out/ so a review shows the YAML diff. Output is one file per resource (out/app/web.yaml), keys sorted, byte-identical when the code is unchanged.
What it covers
Git builds are not available: apply only accepts image builds today.
.extra({...}) sets any other service field the schema allows.
Guards
- A literal on a secret-looking key (or a token-shaped value) throws at synth and names the key, never the value. The server guard remains the real gate.
- Names are checked against the schema pattern, so a name can never escape the output folder; symlinked output paths are refused.
- Undeclared project or database references print warnings, since the target may exist live.
- Limits:
LEVELRAIL_IAC_SYNTH_MAX_FILES(default 500) andLEVELRAIL_IAC_SYNTH_MAX_BYTES(default 5 MiB).
--prune --source, the same as hand-written YAML.