REA Pulumi Python notes (unofficial)
Pulumi Python trees record IaC program identity (Pulumi.yaml with runtime: python, __main__.py, requirements). In REA 6.7.x, treat selected project/runtime/resource labels as Evidence beside archive/package routes — complementing TypeScript/YAML/lock cousins without inventing APIs. Distinct from rea-pulumi-ts / rea-pulumi-yaml / rea-pulumi-lock.
Mental model
- Authorize the Pulumi Python tree (+ packaged configs you hold).
- Quote selected
name/runtime/ resource class names you actually see (never paste secrets or stack outputs with secrets). - Cousins → pulumi-ts · pulumi-yaml · pulumi-lock · cdktf-json.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_pulumi_pyAPI REA never called.
Minimal path
# authorized Pulumi.yaml + __main__.py (runtime: python) (+ artifact you hold)
# quote selected name / runtime / resource class names into case notes
# cousins → peer pulumi-ts / pulumi-yaml / pulumi-lock / cdktf lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_pulumi_py .
Compare
| Artifact | Honest posture |
|---|---|
| Pulumi Python program | Python IaC project/resource identity facts |
| Peer | rea-pulumi-ts |
| Peer | rea-pulumi-yaml |
| Not this | rea-pulumi-lock (lockfile) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
Pulumi.yamlname/runtime: python, and selected resource class names in__main__.py— enough for most Evidence binders. - Stack config secrets and cloud credentials are secrets — record key names only.
- Keep Python programs distinct from TypeScript / YAML Pulumi programs in case notes.
requirements.txt/pyproject.tomlpins are identity Evidence — label them separately from cousin pages.- Select keys are useful inventory — quote them without inventing REA helpers for
pulumi up.
Scope we will not cover
- No inventing
inspect_pulumi_py/ automatic deploys against foreign clouds. - No credential theft from access keys, stack secrets, or remote URIs.
- No pirate redistribution of proprietary Pulumi trees.
- No crack framing via Pulumi pins.
- No cookbooks that weaken remote auth on foreign cloud accounts.
Honest limits
RepoRead documents config literacy — how authorized Pulumi Python trees relate to Evidence — not a full Pulumi course. Prefer upstream Pulumi docs for Python programs and stacks. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-pulumi-ts / rea-pulumi-yaml / rea-pulumi-lock?
rea-pulumi-ts covers TypeScript programs. rea-pulumi-yaml covers YAML programs. rea-pulumi-lock covers lockfiles. This page zooms on Pulumi Python program identity — it does not overwrite those pages.
Is there inspect_pulumi_py in 6.7.0?
Not assumed. Quote project/runtime/resource labels you actually open, then use documented package/archive lanes. Do not invent inspect_pulumi_py.
Does REA call cloud APIs or steal Pulumi/cloud credentials?
No. Local trees only. Redact access keys, stack secrets, and remote URIs; do not treat REA as a pulumi up runner. No credential theft.
How should I label Evidence vs other Pulumi configs?
Label Evidence by the file present. Keep Python __main__.py / Pulumi.yaml (runtime python) separate from rea-pulumi-ts, rea-pulumi-yaml, and rea-pulumi-lock.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).