mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
Add aws-cost command for quick AWS cost overview
- Add aws-cost function that displays current AWS costs in a formatted table - Shows costs for yesterday, last 7 days, current month, and last month - Displays top 5 services with cost breakdown and percentages - Includes month-over-month cost comparison - Uses AWS Cost Explorer API for accurate cost data - Updated README with aws-cost documentation
This commit is contained in:
parent
9e23925b85
commit
2ce9a1bfc7
2 changed files with 134 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ plugins=(... aws)
|
|||
|
||||
* `aws_change_access_key`: changes the AWS access key of a profile.
|
||||
|
||||
* `aws-cost`: displays a quick overview of AWS costs including current month spending,
|
||||
cost breakdown by service, and comparison with previous periods.
|
||||
|
||||
* `aws_profiles`: lists the available profiles in the `$AWS_CONFIG_FILE` (default: `~/.aws/config`).
|
||||
Used to provide completion for the `asp` function.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue