Implementation issue split out from #107.
Replace the mock-data body in packages/ts-cloud/bin/commands/cost.ts (resources command) with real implementation:
- Use AWS Resource Groups Tagging API (
tagging:GetResources) for a unified resource list across services. Falls back to per-serviceDescribe*/List*calls if tagging is incomplete. - Honor the existing
--type <ec2|rds|s3|...>filter.
Acceptance
cloud resourceslists actual resources in the connected account.--typefilters by resource type.--profilehonored.- Replaces the
cli.warn('not implemented')guard introduced by #107.
Notes
- "Total Cost/mo" column probably needs to come from a Cost Explorer call grouped by
RESOURCE_ID— that's only available with CUR (Cost and Usage Reports) configured. If CUR isn't set up, blank that column or document the prereq.
Related
- #107 — tactical guard