{"repo":"nilbuild/aws-cost-cli","free":true,"listed":false,"github":"https://github.com/nilbuild/aws-cost-cli","clone":"git clone https://github.com/nilbuild/aws-cost-cli.git","description":"CLI tool to perform cost analysis on your AWS account with Slack integration","language":"TypeScript","stars":476,"topics":["aws","aws-cost","aws-cost-and-usage-report","aws-cost-explorer","aws-cost-saving","github-action"],"license":null,"category":"cli-tools","readme_excerpt":"aws-cost-cli CLI tool to perform cost analysis on your AWS account with Slack integration Installation Install the package globally or alternatively you can also use npx Usage For the simple usage, just run the command without any options. The output will be a the totals with breakdown by service. Optionally, you can pass the following options to modify the output: In order to use the CLI you can either pass the AWS credentials through the options i.e.: or if you have configured the credentials using aws-cli, you can simply run the following command: To configure the credentials using aws-cli, have a look at the aws-cli docs for more information. Docker You can build this Dockerfile using the docker build command and then run a container from the built image. For example: Detailed Breakdown The default usage is to get the cost breakdown by service You will get the following output Total Costs You can also get the summary of the cost without the service breakdown You will get the following output Plain Text You can also get the output as plain text You will get the following output in response JSON Output You can also get the output as JSON You will get the following output in response Slack Integration You can also get the output as a slack message You will need to create a slack app, visit the OAuth & Permissions tab, and add the chat:write and chat:write.public scopes. Then create an OAuth token from the \"OAuth Tokens\" section and pass it to the CLI. Note: The --slack-chann","default_branch":null,"files":null,"tree":[],"storefront":"/r/nilbuild","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nilbuild/aws-cost-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}