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-service Describe* / List* calls if tagging is incomplete.
- Honor the existing
--type <ec2|rds|s3|...> filter.
Acceptance
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
Implementation issue split out from #107.
Replace the mock-data body in
packages/ts-cloud/bin/commands/cost.ts(resourcescommand) with real implementation:tagging:GetResources) for a unified resource list across services. Falls back to per-serviceDescribe*/List*calls if tagging is incomplete.--type <ec2|rds|s3|...>filter.Acceptance
cloud resourceslists actual resources in the connected account.--typefilters by resource type.--profilehonored.cli.warn('not implemented')guard introduced by Stub commands in cost.ts return mock data — implement or guard with 'not implemented' warning #107.Notes
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