diff --git a/financials/2022-02/breakdown.txt b/financials/2022-02/breakdown.txt new file mode 100644 index 0000000..2e516c4 --- /dev/null +++ b/financials/2022-02/breakdown.txt @@ -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 diff --git a/financials/fin.py b/financials/fin.py index 5e74708..b1647a8 100755 --- a/financials/fin.py +++ b/financials/fin.py @@ -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"):