REA cdktf.json notes (unofficial)
cdktf.json records CDK for Terraform project identity (language, app command, terraformProviders, context). In REA 6.7.x, treat selected language/app/provider labels as Evidence beside archive/package routes — complementing AWS CDK / Helmfile / Earthly cousins without inventing APIs.
Mental model
- Authorize the CDKTF project tree (+ packaged configs you hold).
- Quote selected language/app/terraformProviders labels you actually see (never paste secrets).
- Cousins → cdk-json · helmfile-yaml · earthly · dockerfile.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_cdktf_jsonAPI REA never called.
Minimal path
# authorized cdktf.json (+ artifact you hold)
# quote selected language/app/terraformProviders labels into case notes
# cousins → peer AWS CDK / Helmfile / Earthly lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cdktf_json .
Compare
| Artifact | Honest posture |
|---|---|
| cdktf.json | CDK for Terraform project identity facts |
| Peer | rea-cdk-json |
| Peer | rea-helmfile-yaml |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
language,app,terraformProviders, andcontextkeys — enough for most Evidence binders. - Terraform Cloud tokens and provider credentials often embed secrets — record key names only.
- Keep cdktf.json distinct from AWS CDK
cdk.jsonand Helmfile YAML in case notes. - ProjectId / codeMakerOutput pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for
cdktf synth/deploy.
Scope we will not cover
- No inventing
inspect_cdktf_json/ automatic attacks against foreign Terraform Cloud orgs. - No credential theft from cloud tokens, provider credentials, or remote state URIs.
- No pirate redistribution of proprietary CDKTF trees.
- No crack framing via cdktf pins.
- No cookbooks that weaken remote auth on foreign backends.
Honest limits
RepoRead documents config literacy — how authorized cdktf.json trees relate to Evidence — not a full CDKTF course. Prefer upstream HashiCorp CDKTF docs for language and providers. 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-cdk-json / rea-helmfile-yaml / rea-earthly?
rea-cdk-json covers AWS CDK cdk.json. rea-helmfile-yaml covers Helmfile. rea-earthly covers Earthly. This page zooms on CDK for Terraform cdktf.json identity — it does not overwrite those pages.
Is there inspect_cdktf_json in 6.7.0?
Not assumed. Quote language/app/terraformProviders labels you actually open, then use documented package/archive lanes. Do not invent inspect_cdktf_json.
Does REA connect to Terraform Cloud or steal credentials?
No. Local trees only. Redact cloud tokens, provider credentials, and remote state URIs; do not treat REA as a cdktf/terraform runner. No credential theft.
How should I label Evidence vs other IaC configs?
Label Evidence by the file present. Keep cdktf.json separate from rea-cdk-json, rea-helmfile-yaml, and rea-earthly.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).