REA Infracost notes (unofficial)
Infracost config trees (infracost.yml / .infracost.yml) record cost-estimate identity (currency, usage file, path excludes). In REA 6.7.x, treat selected currency/usage/exclude labels as Evidence beside archive/package routes — complementing Terraform/Checkov cousins without inventing APIs.
Mental model
- Authorize the Infracost config tree (+ packaged configs you hold).
- Quote selected
currency/ usage-file path patterns / pathexcludelabels you actually see (never paste API keys). - Cousins → terraform-tf · checkov-yml · tfsec-yml · cdktf-json.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_infracost_ymlAPI REA never called.
Minimal path
# authorized infracost.yml / .infracost.yml (+ artifact you hold)
# quote selected currency / usage-file / exclude labels into case notes
# cousins → peer Terraform / Checkov / tfsec / CDKTF lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_infracost_yml .
Compare
| Artifact | Honest posture |
|---|---|
| Infracost infracost.yml | Cost currency/usage/exclude identity facts |
| Peer | rea-terraform-tf |
| Peer | rea-checkov-yml |
| Not this | rea-tfsec-yml (security scan) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
currency, usage-file path patterns, and pathexcludeglobs — enough for most Evidence binders. INFRACOST_API_KEYand org tokens are secrets — record key names only.- Keep Infracost configs distinct from Terraform program trees and Checkov/tfsec scans in case notes.
version/projectspath blocks are identity Evidence — label them separately from cousin pages.- Select keys are useful inventory — quote them without inventing REA helpers for
infracost breakdown.
Scope we will not cover
- No inventing
inspect_infracost_yml/ automatic cost runs against foreign cloud accounts. - No credential theft from API keys or remote URIs.
- No pirate redistribution of proprietary Infracost trees.
- No crack framing via Infracost pins.
- No cookbooks that weaken remote auth on foreign Infracost orgs.
- No using Infracost excludes as an unauthorized cloud-cost-exfiltration guide against accounts you do not own.
Honest limits
RepoRead documents config literacy — how authorized Infracost trees relate to Evidence — not a full Infracost course. Prefer upstream Infracost docs for usage files and projects. 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-terraform-tf / rea-checkov-yml / rea-tfsec-yml?
rea-terraform-tf covers Terraform HCL. rea-checkov-yml covers Checkov. rea-tfsec-yml covers tfsec. This page zooms on Infracost cost-estimate config identity — it does not overwrite those pages.
Is there inspect_infracost_yml in 6.7.0?
Not assumed. Quote currency / usage-file / exclude labels you actually open, then use documented package/archive lanes. Do not invent inspect_infracost_yml.
Does REA call Infracost cloud APIs or steal API keys?
No. Local trees only. Redact INFRACOST_API_KEY, org tokens, and remote URIs; do not treat REA as an Infracost runner. No credential theft.
How should I label Evidence vs other IaC configs?
Label Evidence by the file present. Keep infracost.yml separate from rea-terraform-tf and rea-checkov-yml.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).