Aws/cost Report
Format AWS cost estimates into readable reports with breakdowns and recommendations.
Features
- Formatted markdown tables for EC2, RDS, and spec-based estimates
- Cost breakdowns by tag (owner, project)
- Actionable recommendations for cost optimization
- JSON output for programmatic analysis
Usage
The report runs automatically after @webframp/aws/cost-estimate methods.
It can also be run standalone:
# Run after method execution (automatic)
swamp model method run cost-est estimate_from_spec --input-file spec.json
# Run standalone on existing model
swamp model report cost-est --jsonReport Output
- Resource tables with per-item costs
- Tag-based cost allocation (by owner, project)
- Recommendations for:
- Right-sizing expensive resources
- Windows to Linux migration opportunities
- Multi-AZ considerations for RDS
- Tagging gaps
Labels
Filter reports using labels:
swamp model method run <model> <method> --report-label cost2026.09.18.1
Upgrade note: Normalized npm:zod dependency version to 4.6.5 across the
repo. No behavioral changes in this extension.
Format AWS cost estimates into readable reports with breakdowns and recommendations
2026.08.28.1
Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.
Upgrade note: License text only. No API, schema, or runtime behavior changed.
2026.08.26.1
Changed: Normalized deno.json configuration for repo-wide consistency:
added explicit compilerOptions.strict and migrated zod dependency to the
import map (bare "zod" specifier instead of inline npm:zod@4.4.3). No
behavioral changes — runtime resolution is identical.
2026.08.26.1
Changed: Normalized deno.json configuration for repo-wide consistency:
added explicit compilerOptions.strict and migrated zod dependency to the
import map (bare "zod" specifier instead of inline npm:zod@4.4.3). No
behavioral changes — runtime resolution is identical.
2026.08.25.1
Changed: Updated labels for improved extension discoverability. Added cross-cutting category labels (security, observability, finops, infrastructure, networking, compliance, devops, ai, incident-response) where applicable.
updated labels
2026.08.23.1
Fixed: README documented a swamp model report cost-est --json command
that doesn't exist. The correct form is swamp report get <report-name> --model <model>.
Changed: Documentation only — no code changes otherwise. Documented that
the resource table only exists for estimate_from_spec and always shows
$0.00.
2026.07.18.1
Changed: Version bump only, no code changes.
2026.06.26.1
Added: Unit test coverage (cost_report_test.ts) with 17 tests covering skip
behavior, EC2/RDS table rendering, data handle filtering, method-specific
recommendations, header content, and JSON output structure.
2026.06.26.1
Added: Unit test coverage (cost_report_test.ts) with 17 tests covering skip
behavior, EC2/RDS table rendering, data handle filtering, method-specific
recommendations, header content, and JSON output structure.
updated platforms
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned