REA Infracost notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

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

  1. Authorize the Infracost config tree (+ packaged configs you hold).
  2. Quote selected currency / usage-file path patterns / path exclude labels you actually see (never paste API keys).
  3. Cousins → terraform-tf · checkov-yml · tfsec-yml · cdktf-json.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_infracost_yml API 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

ArtifactHonest posture
Infracost infracost.ymlCost currency/usage/exclude identity facts
Peerrea-terraform-tf
Peerrea-checkov-yml
Not thisrea-tfsec-yml (security scan)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote currency, usage-file path patterns, and path exclude globs — enough for most Evidence binders.
  • INFRACOST_API_KEY and org tokens are secrets — record key names only.
  • Keep Infracost configs distinct from Terraform program trees and Checkov/tfsec scans in case notes.
  • version / projects path 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).

Sources