/
AWS CLI unblended cost-check oneliner

AWS CLI unblended cost-check oneliner

aws ce get-cost-and-usage \--time-period Start=`date -u +'%Y-%m-01'`,End=`date -u +'%Y-%m-%d'` --granularity MONTHLY --metrics UnblendedCost | jq '.ResultsByTime[].Total.UnblendedCost.Amount' "3.051866618"

This is usually in USD.

Related content

COT data shifts (Producer / Merchant) - CFTC aggregated data (Futures)
COT data shifts (Producer / Merchant) - CFTC aggregated data (Futures)
More like this
AWS CLI list EC2 with internal and external IPs
AWS CLI list EC2 with internal and external IPs
More like this
Elasticsearch API and Python
Elasticsearch API and Python
More like this
CodeQL
More like this
JSON Power Query to tables (easy, 18.1.24, Excel 16.81 macOS)
JSON Power Query to tables (easy, 18.1.24, Excel 16.81 macOS)
More like this
Silver (Metals, commodity)
Silver (Metals, commodity)
More like this