Add financial data for Feb 2022

This commit is contained in:
Radon Rosborough 2022-03-04 19:52:24 -08:00
parent e157b39522
commit 2f4f866f24
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,15 @@
Riju :: $118.74
EC2 :: $95.20
EBS Snapshot :: $5.44
EBS Volume :: $19.48
EBS Volume :: $19.48
gp2 :: $1.02
gp3 :: $18.47
Instance :: $70.27
t3.large :: $70.25
ECR :: $5.51
Storage :: $5.51
ELB :: $17.92
LCUs :: $0.14
Load Balancer :: $17.77
S3 :: $0.11

View File

@ -152,6 +152,15 @@ def classify_line_item(item, billing_month=None, full=False):
and "EBS:SnapshotUsage" not in usage_type
):
project = "Riju"
# Subpar tagging on my part for some testing resources.
if billing_month == "2022-02":
if service == "AmazonEC2" and resource in {
"i-04af44ee8f8238a00",
"i-0a16cf6c998e59b88",
"i-0ec6e28b124698fc0",
"i-0df1818af33ea1aa9",
}:
project = "Riju"
# AWS does not let you put tags on a public ECR repository,
# yippee.
if service == "AmazonECRPublic" and resource.endswith("repository/riju"):