diff --git a/CHANGELOG.md b/CHANGELOG.md index 669e208..47ac840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.2.0 - 2024-06-18 + +### Breaking + +- Add `Enterprise Discount Program Discount` and `Solution Provider Program Discount` to the list of default excluded record types [#6](https://github.com/hic-infra/hic-aws-costing-tools/pull/6). + To revert to the previous behaviour pass `--exclude-types Credit Refund Tax` + ## 0.1.0 - 2024-04-24 Release 0.1.0 diff --git a/hic_aws_costing_tools/aws_costs.py b/hic_aws_costing_tools/aws_costs.py index 1f36bbc..d25a312 100755 --- a/hic_aws_costing_tools/aws_costs.py +++ b/hic_aws_costing_tools/aws_costs.py @@ -6,7 +6,16 @@ DEFAULT_COST_TYPE = "UnblendedCost" DEFAULT_GRANULARITY = "MONTHLY" -DEFAULT_EXCLUDE_RECORD_TYPES = ["Credit", "Refund", "Tax"] +DEFAULT_EXCLUDE_RECORD_TYPES = [ + "Credit", + "Refund", + "Tax", + # These two aren't documented on + # https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms + # but were confirmed in AWS Support ticket 171570162800825 + "Enterprise Discount Program Discount", + "Solution Provider Program Discount", +] EXPECTED_UNIT = "USD"